A
A
av_tyschenko2016-02-23 17:49:45
SSH
av_tyschenko, 2016-02-23 17:49:45

Ssh disconnects immediately after connecting why?

Guys, help. When I connect via SSH, it gives me:


Linux lama 2.6.32-042stab111.12 #1 SMP Thu Sep 17 11:38:20 MSK 2015 i686 GNU/Linux
Ubuntu 10.04.4 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
Last login: Tue Feb 23 18:31:23 2016 from 31.39.74.36
Tue Feb 23 18:47:02 MSK 2016
Connection to [My Host IP] closed.

And immediately turns off, why can this be? The Mac operating system, the Internet goes directly through a 3G modem.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2016-02-24
@av_tyschenko

You log in as a user whose shell is /bin/date (which is executed and the connection is closed).
The shell must be an interactive shell, such as bash.

P
Pavel, 2016-02-23
@Ingg

Try looking at the logs via VNC. Also, post your ssh configs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question