Wie eine SSH-Verbindung von Server A nach Server B erstellen?

jucho es geht, es geht :-D

Entlich.

Muss mir jetzt erst mal eine anleitung schreiben wenn ich mal wider probleme habe oder jemand anderes.
Werde erst mal jetzt alles fertig machen, dann den code von dir testen und dann die anleitung schreiben.

Noch mals danke. ( habe jetzt wider mal was dazu gelernt )
Hoffe der rest geht auch.
 
hi

Ich bins mal wider.

Allso, ich habe alles installiert aber der code gieng nicht.
Es komm keine fehler meldung, garnichts es hat nur geladen geladen und geladen.
Dann habe ich ein anderen code verwendet ( von mir wo der conektet hat aber nicht einlogen konnte ) und da war das gleich er hat nur geladen.
Habe mich dann per ssh eingelogt und habe versucht per hand eine verbindung herzustehlen, aber kamm fehler.
Habe mich alls root eingelogt und habe ider versucht eine ssh verbindung zu einem anderem server herzustellen und es ging.
( Habe SuSE Linux Professional 9.0 inkl Confixx 3.0 verwendet, hatte es neu drauf installiert. )
Jabe dann alles formatirt und mein alltes system wider installiert und es da versucht.
Und hatte schwirich keiten ( meine anleitung hat nicht funktionirt ) Habe dann einiges versucht und etwas weiter gekommen nur jetzt hänge ich hier:
Code:
local:/opt/ssh2-0.10 # phpize && ./configure --with-ssh2 && make to generate ssh2.so
Configuring for:
  PHP Api Version:   20020918
  Zend Module Api No:   20020429
  Zend Extension Api No:   20021010
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/Zend -I/usr/include/php/TSRM
checking for PHP extension directory... /usr/lib/php/extensions
checking for re2c... exit 0;
checking for gawk... gawk
checking for ssh2 support... yes, shared
checking for ssh2 files in default path... found in /usr
checking for libssh2_banner_set in -lssh2... yes
checking for libssh2_channel_forward_listen_ex in -lssh2... yes
checking for libssh2_userauth_hostbased_fromfile_ex in -lssh2... yes
checking for libssh2_poll in -lssh2... yes
checking for libssh2_publickey_init in -lssh2... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
configure: creating ./config.status
config.status: creating config.h
make: *** No rule to make target `to'.  Stop.
local:/opt/ssh2-0.10 #

Wie kann ich die sachen die mit " no " sind hinzufügen ? ( allso was muss ich installieren oder einstellen )
Und was kann ich machen damit es geht ?

(Bald komme ich in die klapse, bin schon ganz durcheinander wegen dem ganzen)

Hoffe ihr könnt mir mal wider helfen.
 
Zurück