[lug] SSH between Windows and Linux (CVS server)

Michael Deck deckm at cleansoft.com
Fri Dec 29 14:27:31 MST 2000


Jef, this is excellent. I used these steps from linux to solaris just now 
and it worked great! No more passwords!

Thanks,
   Mike

At 01:12 PM 12/29/00 -0800, you wrote:
>Been doing this for a while with no problems. Looks like you're doing it
>backwards.
>
>On your windows box get "ssh-1.2.14-win32bin.zip" from sourceforge,
>
>unzip it to your C: or whatever drive that you wish to use, make sure it's
>in a path with NO spaces. Something like this:
>
>         C:\ssh
>
>Add the path to your Win2k system environmentals (on Win2k it's under
>Control Panel > System > Advanced)
>then cd to that directory.
>
>         C:\ssh>
>
>log into your Linux box via ssh
>
>         C:\ssh>ssh -l username servername
>
>do the following and DO NOT enter passphrases when prompted just hit return:
>
>         ssh-keygen -C your_email at your_address.com -f  ./.ssh/identity
>
>when it's done, do the following:
>
>         cat .ssh/identity.pub >> .ssh/authorized_keys
>
>hit return
>
>         chmod go-rwx  .ssh/authorized_keys
>
>hit return and exit your session.
>
>Then, from the Win2k box, in your ssh directory do this:
>
>         scp username at servername:/path/to/home/directory/.ssh/identity
>.ssh/identity
>
>and this
>
>         scp username at servername:/path/to/home/directory/.ssh/identity.pub
>.ssh/identity.pub
>
>If it's working, you should be able to access the server via ssh without a
>password now.
>
>Hope that helps.
>
>
>
>----- Original Message -----
>From: "Atkinson, Chip" <CAtkinson at Circadence.com>
>To: <lug at lug.boulder.co.us>
>Sent: Friday, December 29, 2000 9:55 AM
>Subject: [lug] SSH between Windows and Linux (CVS server)
>
>
> > Greetings,
> >
> > I'm trying to set up a CVS server on a linux box and trying to set it up
>so
> > that W2K boxes can connect to it.  I'd like to use the ssh connection
> > method, but am having trouble getting ssh access to the linux box without
> > passwords.
> >
> > Here's what I've done:
> > on W2K box, ssh-keygen, no passwords.
> > copy /.ssh/identity.pub to ~administrator/.ssh/known-hosts on linux box.
> >
> > When I ssh -v to the linux box, I get the message:
> >
> > SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
> > Compiled with SSL (0x0090581f).
> > debug: Seeding random number generator
> > debug: ssh_connect: getuid 500 geteuid 500 anon 0
> > debug: Connecting to 10.2.10.16 [10.2.10.16] port 22.
> > debug: Seeding random number generator
> > debug: Allocated local port 785.
> > debug: Connection established.
> > debug: Remote protocol version 1.99, remote software version OpenSSH_2.1.1
> > debug: Local version string SSH-1.5-OpenSSH_2.2.0p1
> > debug: Waiting for server public key.
> > debug: Received server public key (768 bits) and host key (1024 bits).
> > debug: Host '10.2.10.16' is known and matches the RSA host key.
> > debug: Seeding random number generator
> > debug: Encryption type: 3des
> > debug: Sent encrypted session key.
> > debug: Installing crc compensation attack detector.
> > debug: Received encrypted confirmation.
> > debug: Trying RSA authentication with key 'administrator at CATKINSON'
> > debug: Server refused our key.
> > debug: Doing password authentication.
> > administrator at 10.2.10.16's password:
> > Read from socket failed: The connection was aborted
> > debug: Calling cleanup 0x413424(0x0)
> >
> > indicating that the contents of known-hosts is incorrect.
> >
> > Does anyone have suggestions on how to fix this?  Has anyone done such a
> > thing?
> >
> > Thanks in advance.
> >
> > Chip
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
>
>
>_______________________________________________
>Web Page:  http://lug.boulder.co.us
>Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug


Michael Deck
Cleanroom Software Engineering, Inc.   






More information about the LUG mailing list