Operating System - Tru64 Unix
1829535 Members
1644 Online
109992 Solutions
New Discussion

Re: cant login on ssh server

 
Jefferson_6
Frequent Advisor

cant login on ssh server

hi guys,
ive installed ssh on my tru64.created a user.but when i login, no success. my logs tell me that hostbased authentication fails.can you give me a sample config?
7 REPLIES 7
Al Licause
Trusted Contributor

Re: cant login on ssh server

Try running ssh -v to get a trace of the login attempt. See just where it's failing.

By default, you shouldn't have to change anything in the ssh configuration files.

What type of access are you using ?
password, hostkey, publickey ?

Ann Majeske
Honored Contributor

Re: cant login on ssh server

What version of tru64 are you running? What ssh did you install?

Jefferson_6
Frequent Advisor

Re: cant login on ssh server

Im using v5.1A and i downloaded sshv323. I even tried it on my server and no success.I tried looking at the logs and it seems authentication is the problem.
Jefferson_6
Frequent Advisor

Re: cant login on ssh server

I tried putting the default config, and still no luck. Im wondering that even trying to connect locally on my server still no success. does authentication type an issue ? what will i put password or publickey ?
Jefferson_6
Frequent Advisor

Re: cant login on ssh server

Hi guys,
Heres the things i did.

#ssh -v
metaconfig parsing at line3
unable to open //.ssh2/sshd2_config
warning:you didnt specify hostname

#ssh admin@
admin password:
Disconnected, no more authentication methods available

tail -f auth.log
hostbased authentication failed
password authentication failed

What seems to be the problem ?
Ivan Ferreira
Honored Contributor

Re: cant login on ssh server

You should run:

ssh -v admin@


Also, run it from the localhost first, there can be problems using openssh and Tru64 sshd.

ssh -v admin@localhost
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Al Licause
Trusted Contributor

Re: cant login on ssh server

I tried the same steps you took on one of our lab systems running v5.1a with the v3.2.3 ssh kit installed. I received basically the same messages despite the fact that this systems ssh is functioning w/o any problems.

ssh -v:
It did not look for the local servers' file which is /etc/ssh2/sshd2_config but for the local users client configuration file which is $HOME/.ssh2/ssh2_config. This is an optional file. If not found it will use the default file on /etc/ssh2/ssh2_config.

ssh admin@localhost:
Failed as there is no admin account on the system. There is an adm account but no admin.

Try something simple....like ssh localhost. This will connect back to the account from which you are currently logged in. Or ssh target_system_name.

Ssh assumes you want to connect to the same account from which you are originating the connection unless you give it a specific username with the user@hostname format or use the -l username form.