ssh on SuSE 10.0 OSS
Not really a SuSE issue, I think, but I'd be grateful for any help, as trawling through the man pages and google hasn't helped me. I'm trying to access my SuSE 10 OSS desktop from my Nokia Communicator 9500 mobile 'phone, using PuTTY for symbian, but when I try to log in and am asked for the user password, it is not accepted: I have not set up any other passwords for ssh. According to the PuTTY for Symbian documentation, I need to generate rsa keys (for ssh1): I have done this (using ssh-keygen) and made sure that the private key is available on both the 'phone and the desktop. Also, both protocols 1 and 2 are enabled in /etc/ssh/ssh_config. I'm a bit stuck on where to go now and if anyone could point me towards some possible solutions, I'd be grateful. I think I need an idiots's guide to ssh so if anyone knows of a link, that might help! Many thanks all. David
On Monday 31 October 2005 10:54 pm, David Robertson wrote:
Not really a SuSE issue, I think, but I'd be grateful for any help, as trawling through the man pages and google hasn't helped me.
I'm trying to access my SuSE 10 OSS desktop from my Nokia Communicator 9500 mobile 'phone, using PuTTY for symbian, but when I try to log in and am asked for the user password, it is not accepted: I have not set up any other passwords for ssh. According to the PuTTY for Symbian documentation, I need to generate rsa keys (for ssh1): I have done this (using ssh-keygen) and made sure that the private key is available on both the 'phone and the desktop. Also, both protocols 1 and 2 are enabled in /etc/ssh/ssh_config. I'm a bit stuck on where to go now and if anyone could point me towards some possible solutions, I'd be grateful. I think I need an idiots's guide to ssh so if anyone knows of a link, that might help!
You don't need to have the private key available on the phone, that is just ONE way of using ssh. The other way that you tried was passwords. The password method should always work. The others are a bit trickier. You need to look carefully at /etc/sshd.config (or wherever it is stored in SySE 10) and make sure that password authentication is turned on, and you probably want challenge-response off. I would only allow ssh2, but thats just me. Then you have to find out why that does not work, because if that won't work chances are there is something else going on. See if you can log into your machine from any other machine. This will test if there a bug in the phone's software. Once you know it works from somewhere else you can start tracking the differences. -- _____________________________________ John Andersen
On Tuesday 01 November 2005 11:11, John Andersen wrote:
On Monday 31 October 2005 10:54 pm, David Robertson wrote:
Not really a SuSE issue, I think, but I'd be grateful for any help, as trawling through the man pages and google hasn't helped me.
I'm trying to access my SuSE 10 OSS desktop from my Nokia Communicator 9500 mobile 'phone, using PuTTY for symbian, but when I try to log in and am asked for the user password, it is not accepted: I have not set up any other passwords for ssh. According to the PuTTY for Symbian documentation, I need to generate rsa keys (for ssh1): I have done this (using ssh-keygen) and made sure that the private key is available on both the 'phone and the desktop. Also, both protocols 1 and 2 are enabled in /etc/ssh/ssh_config. I'm a bit stuck on where to go now and if anyone could point me towards some possible solutions, I'd be grateful. I think I need an idiots's guide to ssh so if anyone knows of a link, that might help!
You don't need to have the private key available on the phone, that is just ONE way of using ssh. The other way that you tried was passwords.
The password method should always work. The others are a bit trickier. You need to look carefully at /etc/sshd.config (or wherever it is stored in SySE 10) and make sure that password authentication is turned on, and you probably want challenge-response off. I would only allow ssh2, but thats just me.
Then you have to find out why that does not work, because if that won't work chances are there is something else going on.
See if you can log into your machine from any other machine. This will test if there a bug in the phone's software.
Once you know it works from somewhere else you can start tracking the differences.
Thanks John - I've tracked down the problem: PasswordAuthentication was set to no in /etc/ssh/sshd_conf. Changing it to yes has sorted things. Must have missed that one! Many thanks. David -- Registered Linux User No 207521 The Linux Counter: http://counter.li.org/ "The above is my personal opinion and does not necessarily reflect that of the little voices in my head."
On Tue, 1 Nov 2005 07:11 pm, John Andersen wrote:
On Monday 31 October 2005 10:54 pm, David Robertson wrote:
I'm trying to access my SuSE 10 OSS desktop from my Nokia Communicator 9500 mobile 'phone, using PuTTY for symbian, but when I try to log in and am asked for the user password, it is not accepted:
<snip>
You need to look carefully at /etc/sshd.config (or wherever it is stored in SySE 10) and make sure that password authentication is turned on, and you probably want challenge-response off.
I would only allow ssh2, but thats just me.
While you're editing /etc/ssh/sshd_config do turn ssh1 off, I have had times when turning ssh1 off on the server fixed a "broken" pc that couldn't connect. (SSH-3.2.9.exe) Not just more secure; more compatible. michaelj -- Michael James michael.james@csiro.au System Administrator voice: 02 6246 5040 CSIRO Bioinformatics Facility fax: 02 6246 5166 No matter how much you pay for software, you always get less than you hoped. Unless you pay nothing, then you get more.
On Wednesday 02 November 2005 03:42, Michael James wrote: -snip-
While you're editing /etc/ssh/sshd_config do turn ssh1 off, I have had times when turning ssh1 off on the server fixed a "broken" pc that couldn't connect. (SSH-3.2.9.exe)
Not just more secure; more compatible.
michaelj
Thanks Michael. I have done that anyway now, and it all seems to be working fine. David -- Registered Linux User No 207521 The Linux Counter: http://counter.li.org/ "The above is my personal opinion and does not necessarily reflect that of the little voices in my head."
David, Is SHH port 22 allowed through the firewall on the desktop? Make sure /etc/ssh/sshd.config is as you want it on the desktop. Allen ---- Allen Wilkinson (phone) (216) 382-7613 1036 Pembrook Road (work) (216) 433-2075 Cleveland Heights, OH 44121 USA (INTERNET) aw(at)apk(dot)net On Tue, 1 Nov 2005, David Robertson wrote:
Not really a SuSE issue, I think, but I'd be grateful for any help, as trawling through the man pages and google hasn't helped me.
I'm trying to access my SuSE 10 OSS desktop from my Nokia Communicator 9500 mobile 'phone, using PuTTY for symbian, but when I try to log in and am asked for the user password, it is not accepted: I have not set up any other passwords for ssh. According to the PuTTY for Symbian documentation, I need to generate rsa keys (for ssh1): I have done this (using ssh-keygen) and made sure that the private key is available on both the 'phone and the desktop. Also, both protocols 1 and 2 are enabled in /etc/ssh/ssh_config. I'm a bit stuck on where to go now and if anyone could point me towards some possible solutions, I'd be grateful. I think I need an idiots's guide to ssh so if anyone knows of a link, that might help!
Many thanks all.
David
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (4)
-
Allen Wilkinson
-
David Robertson
-
John Andersen
-
Michael James