[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ssh and hostname



Hi,

I have problems with the latest ssh and the hostname for my debian
box:
ssh from another computer in my local network works OK.
ssh from my box either to my own box or another does not work:

ssh -v localhost
SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0.
Compiled with SSL (0x0090581f).
debug: Reading configuration data /etc/ssh/ssh_config
debug: Applying options for localhost
debug: Seeding random number generator
hanging here
BUT
ssh -v 127.0.0.1 works!!

same with ssh -v cl-dual vs ssh -v 192.168.0.4, the only
difference is that debug gives: srs@debian, not srs@cl-dual.
/etc/hostname is set to cl-dual.my.own.domain

/etc/hosts entries:
127.0.0.1       localhost               debian  cl-dual
192.168.0.4     cl-dual.my.own.domain   cl-dual debian

Q1) Where to change the hostname/domainname for things to work??
Q2) Where does the debian entry in ssh come from, which function is called?
Q3) How to downgrade to the stable version ssh-v1 or finding the v2.1.x??

dpkg -l ssh:
ssh            2.2.0p1-1 



Reply to: