From: Richard T. <ri...@th...> - 2001-11-08 17:49:52
|
David, Aren't you supposed to use the private key (identity) not the public key (identity.pub) with the MindTerm client? Richard Thomas -----Original Message----- From: David Eales [mailto:da...@ti...] Sent: Thursday, November 08, 2001 10:28 AM To: Matthew Franz; David Eales Cc: tb...@ti...; Richard Thomas; tri...@li... Subject: Re: [Trinux-talk] Trinux Remote Control still no luck I am afraid here is what I am doing to try and get this working: boot trinux and load both openssh and opensshd. I then run ssh-keygen and create the key files without a passphrase this then creates two files /.ssh/identity.pub and /.ssh/identity I then copy identity.pub into authorized_keys by typing cp /.ssh/identity.pub /.ssh/authorized_keys. I then type chmod 700 /.ssh , I can now login from the trinux machine by typing ssh localhost -1 so I know that SSH is up and running. I then mount a blank floppy disk by typing mount /dev/fd0 /mnt and copy the file identity.pub from the /.ssh directory onto this blank floppy, I then unmount the floppy and load up the online version of mindterm and click file then connect. These are the settings I use for mindterm: Server: IP address of trinux box Port: 22 Username: left blank Authentication: Public Key Identity: Path to identity.pub file that I copied to floppy. In the prefrences section the options I use are: Protocol: SSH1 compression: None Bind Address ticked Allocate PTY ticked Local Address: 127.0.0.1 When I try to connect it says: MindTerm home: D:\WINNT\Java\mindterm\ Warning connecting using ssh1, consider upgrading server! Connected to server running SSH-1.99-OpenSSH_2.9p2 (IP address) login: I press enter and I get the error: Error connecting to oxygen.tilehill.ac.uk, reason: -> RSA key file corrupt I have also tried the latest version of putty and this refuses to open the key ---------------------------------------- David Eales Computer Technician Tile Hill College ---------------------------------------- ----- Original Message ----- From: "Matthew Franz" <mf...@ci...> To: "David Eales" <dav...@nt...> Cc: <tb...@ti...>; "Richard Thomas" <ri...@th...>; <tri...@li...> Sent: Wednesday, November 07, 2001 6:53 PM Subject: Re: [Trinux-talk] Trinux Remote Control > > The new packages are up on the following sites: > > http://www.trinux.org/pkg/ > http://trinux.sf.net/pkg/ > http://www.io.com/~mdfranz/trinux/pkg/ > > If you use and OpenSSH client (I'm assuming 2.x or greater) you will need > to generate a DSA key with > > # ssh-keygen -t dsa > > to generate the id_dsa.pub that will get added to /.ssh/authorized_keys2 > just as > > # ssh-keygen > > created the identity.pub which got added to /.ssh/authorized_keys > > if you have SSH1 keys (authorized_keys) you will have to connect with the > ssh -1 command, otherwise you'll get prompted for a password. > > I have not yet tested retrieving saved keys from the floppy although they > do get saved properly. > > And a big thanks to Tim for all his help on this!!!! > > Thanks for your patience and let me know if you have any more problems. > I'll try to update the docs shortly. > > -mdf > > > Date: Wed, 7 Nov 2001 20:44:37 -0000 > > From: David Eales <dav...@nt...> > > To: tb...@ti..., Richard Thomas <ri...@th...> > > Cc: tri...@li... > > Subject: Re: [Trinux-talk] Trinux Remote Control > > > > thanks a lot i will look forward to seeing that > > > > ----- Original Message ----- > > From: <tb...@ti...> > > To: "Richard Thomas" <ri...@th...> > > Cc: <tri...@li...> > > Sent: Wednesday, November 07, 2001 8:15 PM > > Subject: Re: [Trinux-talk] Trinux Remote Control > > > > > > > > > > I have looked at opensshd and cleaned it up a little. > > > > > > I need to submit it to Matt, to make sure I didn't break anything he is > > > doing. > > > > > > I think I fixed most of these sshd problems some people are having... > > > > > > Look for an updated opensshd.tgz and openssh.tgz soon. > > > > > > On Wed, 7 Nov 2001, Richard Thomas wrote: > > > > > > > Okay, I need some help here. I have done everything I can think of to > > get the SSH connection to Trinux operational. I am using the .80rc2-ide boot > > image to bootup. I followed the directions in the Remote Admin doc. I have > > tried Win98->Trinux and Trinux->Trinux. The closest I get is a prompt for > > the root@<ip-address> password. I generated the keys using the MindTerm java > > demo. I copied the public key to the '/tux/pkg/opensshd/keys' file. The > > public key becomes the '/.ssh/authorized_keys' file on the target box. The > > private key is on the source box. I placed 'opensshd' in the > > '/tux/config/pkglist' file right before the 'openssh' package. Should I be > > having to manually start 'sshd'? Does it look like I am doing anyything > > amiss? All help is much appreciated. Thanks. > > > > > > > > Richard Thomas > > > > > > > > > > -- > > > -------------------- > > > Timothy Burt > > > Internet Specialist > > > > > > > > > ________________________________________ _______ > > > Trinux-talk mailing list > > > Tri...@li... > > > https://lists.sourceforge.net/lists/list info/trinux-talk > > > > > > > > ________________________________________ _______ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/list info/trinux-talk > > > > > ________________________________________ _______ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/list info/trinux-talk |