リモートのUbuntuPCにsshでログインしようとこのサイトを参考に設定しました。
しかし、いざsshしてみるもOperation timed outになってしまいます。
shell
1ssh -i ~/.ssh/id_rsa <host>@<ip address>
そもそもping自体通りません。
shell
1PING <ip address> : 56 data bytes 2Request timeout for icmp_seq 0 3Request timeout for icmp_seq 1 4Request timeout for icmp_seq 2 5Request timeout for icmp_seq 3 6Request timeout for icmp_seq 4 7Request timeout for icmp_seq 5 8^C 9--- <ip address> ping statistics --- 107 packets transmitted, 0 packets received, 100.0% packet loss
shell
1$ sudo netstat -plunt | grep ssh 2tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 24664/sshd 3tcp6 0 0 :::22 :::* LISTEN 24664/sshd
shell
1$ sudo lsof -nPi:22 2COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME 3sshd 24664 root 3u IPv4 1093973 0t0 TCP *:22 (LISTEN) 4sshd 24664 root 4u IPv6 1093975 0t0 TCP *:22 (LISTEN)
どう設定すればssh接続できるようになるでしょうか?
###環境詳細
リモート Ubuntu 18.04
クライアント MacOS HighSierra
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/10/24 14:16
2018/10/24 14:19
2018/10/24 14:21
2018/10/24 14:25
2018/10/24 14:27
2018/10/24 14:31
2018/10/24 14:36 編集
2018/10/24 14:45
2018/10/24 14:46
2018/10/24 14:49
2018/10/24 14:52
2018/10/24 14:52
2018/10/24 14:58
2018/10/24 15:02
2018/10/24 15:04
2018/10/24 15:06
2018/10/25 00:17