最初の接続:

最初の接続:

複数のSSH接続が同時に開いている場合は、最初の2つだけが機能しますsudo。 3番目の接続では、ユーザーにパスワードの入力を求められますが、ユーザーはパスワードを設定しません。

最初の接続:

manuel@manuelthinkpad:~$ ssh manuel-nas-wan 
Enter passphrase for key '/home/manuel/.ssh/manuel-thinkpad-arbeit.ed25519': 
Linux manuel-nas 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Dec  5 13:59:52 2017 from xxx.xxx.xxx.xxx

user@manuel-nas:~$ sudo pwd
/home/user

2番目の接続:

(最初の接続と同じ)

3番目の接続:

manuel@manuelthinkpad:~$ ssh manuel-nas-wan
Enter passphrase for key '/home/manuel/.ssh/manuel-thinkpad-arbeit.ed25519': 
Linux manuel-nas 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Dec  5 14:27:00 2017 from xxx.xxx.xxx.xxx

user@manuel-nas:~$ sudo pwd
[sudo] password for user: 

質問

誰かが私に理由とこの動作を取り除く方法を教えてもらえますか?できることを願っていsudoますみんな私の接続は最初の2つではありません。

ありがとうございます!

ベストアンサー1

おすすめ記事