cvs.exe
downloaden)
c:\ssh
)
cygwb19.zip
in ebenselbiges verzeichnis auspacken
C:\TEMP\ssh-raju>set CYGWIN32=tty C:\TEMP\ssh-raju>ssh -v -l username metternich.vibe.at ssh-1.2.22 for Win32, compiled using Cygwin32 Beta 19.1 by Raju Mathur (raju@sgi.com) aka OldMonk SSH Version 1.2.22 [], protocol version 1.5. Standard version. Does not use RSAREF. MORPHEUS: ssh_connect: getuid 500 geteuid 500 anon 1 MORPHEUS: Connecting to metternich.vibe.at [194.152.178.73] port 22. MORPHEUS: Connection established. MORPHEUS: Remote protocol version 1.5, remote software version 1.2.27 MORPHEUS: Waiting for server public key. MORPHEUS: Received server public key (768 bits) and host key (1024 bits). Host key not found from the list of known hosts. Are you sure you want to continue connecting (yes/no)? yes Host 'metternich.vibe.at' added to the list of known hosts. Creating random seed file ~/.ssh/random_seed. This may take a while. execv /bin/sh failed: No such file or directory execv /bin/sh failed: No such file or directory execv /bin/sh failed: No such file or directory execv /bin/sh failed: No such file or directory execv /bin/sh failed: No such file or directory execv /bin/sh failed: No such file or directory execv /bin/sh failed: No such file or directory MORPHEUS: Encryption type: idea MORPHEUS: Sent encrypted session key. MORPHEUS: Received encrypted confirmation. MORPHEUS: Remote: Server does not permit empty password login. MORPHEUS: No agent. MORPHEUS: Doing password authentication. username@metternich.vibe.at's password:sagichnicht MORPHEUS: Requesting pty. MORPHEUS: Requesting shell. MORPHEUS: Entering interactive session. Last login: Sat Jul 17 14:49:19 1999 from styx.tahina.priv.at Linux metternich 2.2.9 #2 Sun Jun 13 18:38:40 CEST 1999 i486 unknown $ exit logout Connection to metternich.vibe.at closed. MORPHEUS: Transferred: stdin 5, stdout 174, stderr 42 bytes in 1.4 seconds MORPHEUS: Bytes per second: stdin 3.5, stdout 121.7, stderr 29.4 MORPHEUS: Exit status 0 |
C:\TEMP\ssh-raju>ssh-keygen Initializing random number generator... Generating p: ........................................++ (distance 598) Generating q: .................++ (distance 312) Computing the keys... Testing the keys... Key generation complete. Enter file in which to save the key (//.ssh/identity): Enter passphrase:ENTER Enter the same passphrase again:ENTER Your identification has been saved in //.ssh/identity. Your public key is: 1024 37 165955487219441536670018849795322207099015140786814284534591900070282446 51045416089787284861365257787795010503360407589235404984369077825846198340542470 93065076604490732159732746996864190462459530363074126445857339736149682548946568 92683450829571089202865638324303468949040029330323654875057276333654234373017 ro ot@hostname Your public key has been saved in //.ssh/identity.pub |
C:\> ssh -l username metternich.vibe.at [...] $ mkdir .ssh $ exit C:\> scp \.ssh\identity.pub username@metternich.vibe.at:~/.ssh/authorized_keys |
ctrl-C
abbrechen.
C:\TEMP\ssh-raju>ssh -l username metternich.vibe.at ssh-1.2.22 for Win32, compiled using Cygwin32 Beta 19.1 by Raju Mathur (raju@sgi.com) aka OldMonk Last login: Sat Jul 17 15:02:32 1999 from styx.tahina.priv.at Linux metternich 2.2.9 #2 Sun Jun 13 18:38:40 CEST 1999 i486 unknown $ exit logout Connection to metternich.vibe.at closed. |
ssh-agent
nicht zu funktionieren scheint (zumindest
unter lose95 nicht), bleibt uns nix anderes übrig. auf die sicherheit
der maschine ist entsprechend zu achten, der key ermöglicht das
einloggen auf der unix-box!
set CVSROOT=:ext:username@metternich.vibe.at:/var/CVS set CVS_RSH=pfad\ssh set CYGWIN=tty |
cvs checkout www
www
)
cvs update www
cvs commit www
cvs add filename
cvs commit
eingespielt werden)
cvs
nach dem abschluß der aktionen
hängen, muß mit ctrl-C
abgebrochen werden, scheint
aber alles zu transferieren.