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."