From: Richard T. <ri...@th...> - 2001-11-07 18:19:24
|
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 |
From: <tb...@ti...> - 2001-11-07 20:16:01
|
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 |
From: David E. <dav...@nt...> - 2001-11-07 20:44:38
|
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/listinfo/trinux-talk |
From: Matthew F. <mf...@ci...> - 2001-11-08 00:44:20
|
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/listinfo/trinux-talk > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > |
From: David E. <da...@ti...> - 2001-11-08 16:26:12
|
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/listinfo/trinux-talk > > > > > > > > _______________________________________________ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk |
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 |
From: David E. <dav...@nt...> - 2001-11-08 18:59:37
|
Ok ive just tried that and it says authentication failed, server refused our key. ----- Original Message ----- From: "Richard Thomas" <ri...@th...> To: <tri...@li...> Sent: Thursday, November 08, 2001 5:49 PM Subject: RE: [Trinux-talk] Trinux Remote Control > 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 > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk |
From: <tb...@ti...> - 2001-11-08 19:29:29
|
SSH is pretty tricky to setup. Because it provides protection/security, it has several strict requirements. This pre-release (0.8) beta version of Trinux (a minimal specialized version of Linux) is a really poor environment to learn the intracacies of SSH. I thought I noticed earlier you mentioned relocating the public key from the destination to the source machine, buy I ignored it cause it is obvious to anyone who uses SSH regularly that it is the other way around. You need to generate a key pair on the MindTerm Client. Then put the public key onto the trinux box, into the authorized_keys or authorized_keys2 file. Or both, if you don't know which one you got. Perhaps Matt's instructions are not real clear on this. He says he will rewrite the Docs someday... The new SSH packages, require that openssh be loaded before opensshd, failure to do so will generate an error message, but it goes by quickly, so you may miss it. Make sure openssh precedes opensshd in your pkglist file. Check on the Trinux box, that the host key was generated and placed in /usr/local/etc/, if I recall correctly. You might try running sshd in debug mode, from the command line: killall sshd sshd -d -d -d The output is cryptic, and it must be restarted after each attempt, but it helps. When you get it running, and you can log in from your client, then run: save-sshkeys on the Trinux box. It should write the host keys and authorized-keys files to the floppy where they can be found next time you boot. CD-ROM users must place the files by hand onto the cd image. I think I left out the support for identity.pub.. There are so many other ways to restore the keys, and the identity.pub was SSH1 specific, etc... I hope this helps... Again, this is a really poor environment to be learning SSH.... On Thu, 8 Nov 2001, David Eales wrote: > Ok ive just tried that and it says authentication failed, server refused our > key. > > ----- Original Message ----- > From: "Richard Thomas" <ri...@th...> > To: <tri...@li...> > Sent: Thursday, November 08, 2001 5:49 PM > Subject: RE: [Trinux-talk] Trinux Remote Control > > > > 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 > > > > > > > > > > _______________________________________________ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > -- -------------------- Timothy Burt Internet Specialist |
From: <tb...@ti...> - 2001-11-07 20:35:10
|
Also be sure that if you generated an SSH version 1 key that you put it in: authorized_keys If it is an SSH version 2 key, it gets put into: authorized_keys2 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 |