В общем проблема такова: не могу со своего ноутбука залогиниться по ssh или telnet в университетской сети. Ни с него, не в него. Два дня гугла и шаманства с бубном пока ничего не дали.
$ ssh username@domain.com
ssh: connect to host domain.com port 22: Connection refused
$ telnet domain.com 22
Trying #ip...
telnet: connect to address #ip: Connection refused
$ telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.2
$ ssh localhost
user@localhost's password:
Last login: Fri May 6 17:23:03 2016
# systemctl status telnet.socket
● telnet.socket - Telnet Server Activation Socket
Loaded: loaded (/usr/lib/systemd/system/telnet.socket; enabled; vendor preset: disabled)
Active: active (listening) since Fri 2016-05-06 17:20:57 MSK; 42min ago
Docs: man:telnetd(8)
Listen: [::]:23 (Stream)
Accepted: 0; Connected: 0
May 06 17:20:57 localhost.localdomain systemd[1]: Listening on Telnet Server ...
May 06 17:20:57 localhost.localdomain systemd[1]: Starting Telnet Server Acti...
Hint: Some lines were ellipsized, use -l to show in full.
# systemctl status sshd
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2016-05-06 17:21:23 MSK; 44min ago
Docs: man:sshd(8)
man:sshd_config(5)
Process: 1096 ExecStart=/usr/sbin/sshd $OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 1122 (sshd)
CGroup: /system.slice/sshd.service
└─1122 /usr/sbin/sshd
May 06 17:21:22 localhost.localdomain systemd[1]: Starting OpenSSH server dae...
May 06 17:21:23 localhost.localdomain sshd[1122]: Server listening on 0.0.0.0...
May 06 17:21:23 localhost.localdomain systemd[1]: sshd.service: PID file /var...
May 06 17:21:23 localhost.localdomain sshd[1122]: Server listening on :: port...
May 06 17:21:23 localhost.localdomain systemd[1]: Started OpenSSH server daemon.
May 06 18:03:56 host sshd[705]: Bad protocol version identification '\37...18
May 06 18:04:37 host sshd[15408]: Accepted password for user from 127.0....h2
Hint: Some lines were ellipsized, use -l to show in full.
# cat /etc/ssh/sshd_config
Port 22
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
SyslogFacility AUTHPRIV
PermitRootLogin yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication yes
ChallengeResponseAuthentication no
GSSAPIAuthentication yes
GSSAPICleanupCredentials no
UsePAM yes
X11Forwarding yes
AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
Subsystem sftp /usr/libexec/openssh/sftp-server
Если честно, то никаких идей.