[LBo] SSH

Travis Mehrer travis at trivcraft.com
Tue Nov 20 18:26:55 CET 2007


On Tue, Nov 20, 2007 at 08:53:36AM -0600, Troy wrote:
> I tried both of the options listed below, but neither one seemed to make a
> difference.
> 
> When you say make the IP of the computer you are ssh-ing FROM "resolve" on
> the system you are ssh-ing TO-  I took this to mean adding the IP address of
> my client(from) to the /etc/hosts file on the server(to).  Is this correct?

This is correct, you should have an entry like this in the /etc/hosts
file on the SSH server (in this iexample I will assume the IP of the client
is 192.168.0.50):

192.168.0.50	bender	bender.local.domain

> I added the local IP address of the client(From) to the bottom of this
> list.  Is there somewhere else I should have added it?

Anywhere in the hosts file should suffice.

> After noticing no difference from editing the /etc/hosts file, I returned
> the /etc/hosts file to the original, and modified the /etc/ssh/sshd_config
> file by adding UseDNS NO to the very bottom of this file, after UsePAM yes.
> Is there someplace else in the file I should have added this, or does
> placement in the file not matter?

Again the exact location of this line withing the sshd_config should _not_
matter. One other thing I forgot to mention, did you restart your sshd
on the server after you made the change? That is also necessary.
> 
> This morning I used putty (in Windows) to login to the server.  Putty
> established an instant connection, and prompted me for my username and
> password.  Is Putty available on Linux?  How does putty and SSH differ?

Every distro I have recently used (Gentoo, Ubuntu, Arch) all have PuTTY
available. There is not a lot of difference between PuTTY and SSH I
suppose besides licenses and the GUI.

There is really no reason to not use PuTTY... aside from the idea
that... isn't it more fun to solve the original issue first? ;)



More information about the QnA mailing list