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

ssh and hostname


I have problems with the latest ssh and the hostname for my debian
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
ssh -v works!!

same with ssh -v cl-dual vs ssh -v, 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:       localhost               debian  cl-dual     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: