- ssh putty linux

PDA

View Full Version : ssh putty linux


Juerg Schwarz
07-25-2004, 01:36 AM
Hi

Since i installed Suse Linux 9.1 i cannot login by putty into my Linux with
putty ofer ssh. Where do i have set the rights to login again?

Juerg

Uwe Bonnes
07-25-2004, 01:36 AM
Juerg Schwarz <linux2@gmx.net> wrote:
: Hi

: Since i installed Suse Linux 9.1 i cannot login by putty into my Linux with
: putty ofer ssh. Where do i have set the rights to login again?

Install n newer putty or set the right options. A net serach will bring up
these needed new options.

Bye
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

Bill Unruh
07-25-2004, 01:36 AM
Juerg Schwarz <linux2@gmx.net> writes:

]Hi

]Since i installed Suse Linux 9.1 i cannot login by putty into my Linux with
]putty ofer ssh. Where do i have set the rights to login again?


Did you enable sshd on the linux and is it running? did you put the
appropriate entry into /etc/hosts.allow?

Owen Jacobson
07-25-2004, 01:36 AM
On Sun, 27 Jun 2004 18:23:37 +0200, Juerg Schwarz wrote:

> Hi
>
> Since i installed Suse Linux 9.1 i cannot login by putty into my Linux with
> putty ofer ssh. Where do i have set the rights to login again?

I know someone else who recently had the same problem; we solved it by
telling Putty to use SSH V2 by default (V1 is outdated and, IIRC, broken
in the cryptographic sense). It's under the Connection/SSH options.

Also make sure that sshd is running (ps aux | grep sshd) and that
hosts.allow/hosts.deny/firewall settings are appropriate.

--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.

Keith Meidling
07-25-2004, 01:36 AM
In article <40def431$0$26630$5402220f@news.sunrise.ch>, Juerg Schwarz wrote:
> Hi
>
> Since i installed Suse Linux 9.1 i cannot login by putty into my Linux with
> putty ofer ssh. Where do i have set the rights to login again?
>
> Juerg

Check your sshd_conf file.

If you don't know where it is type 'find / -name sshd_config'
That should show you where the file is.

IIRC in Suse, I had to enable ssh logins by putting yes on
the UseLogin line in the sshd_config file.

Don't forget to restart ssh for the change to take effect.

Juhan Leemet
07-25-2004, 01:36 AM
On Tue, 29 Jun 2004 16:25:24 -0500, Keith Meidling wrote:
> If you don't know where it is type 'find / -name sshd_config'
> That should show you where the file is.

Yikes! That's a hard/long way to do it, isn't it? I guess I have a lot
of stuff in my file system. I would do:

rpm -qal | grep sshd_config

That lists all of the installed files from all packages (you could just
look at openssh package? how would you know?) and filters out those that
contain sshd_config. Lookit, there's even a man page!

$ rpm -qal | grep sshd_config
/etc/ssh/sshd_config
/usr/share/man/man5/sshd_config.5.gz

> IIRC in Suse, I had to enable ssh logins by putting yes on the UseLogin
> line in the sshd_config file.

Hmm, I didn't have to, in SuSE 8.2, but then I use RSA Authentication
(default on SuSE 8.2 install). I can come in from Solaris, w/o login
prompt as long as my home directory (with private .ssh directory) is
mounted on both sides. I think you need that for PVM, MPI, Beowulf?

> Don't forget to restart ssh for the change to take effect.

Yeah, easiest by:

/etc/init.d/sshd restart

Hmm, I see there is a reload of force-reload in that startup script? I've
never used that. I've used a more general restart for services (not all).

--
Juhan Leemet
Logicognosis, Inc.

Keith Meidling
07-25-2004, 01:36 AM
In article <pan.2004.06.30.04.36.14.887186@logicognosis.com>,
Juhan Leemet wrote:
> On Tue, 29 Jun 2004 16:25:24 -0500, Keith Meidling wrote:
>> If you don't know where it is type 'find / -name sshd_config'
>> That should show you where the file is.
>
> Yikes! That's a hard/long way to do it, isn't it? I guess I have a lot
> of stuff in my file system. I would do:
>
> rpm -qal | grep sshd_config

Sorry... I've just started to work with Linux, and I guess my
methods are not as refined as most... I guess I should have
restricted the search to /etc to speed up the process. Thanks for
the comment or I wouldn't have thought twice about it.

Juhan Leemet
07-25-2004, 01:36 AM
On Wed, 30 Jun 2004 05:38:16 -0500, Keith Meidling wrote:
> Sorry... I've just started to work with Linux...

No need to apologize. We're all coming from varied backgrounds here. I've
learned some stuff from others. Just trying to return some suggestions.

--
Juhan Leemet
Logicognosis, Inc.