ソリューションの.sshフォルダを探します

SSHでログインした後の.sshフォルダを見つけることができませんでした

私はまだの.sshを見つけることができない、再度ログインし、ホストのログを記録し、その後終了するsshを使用
する方法があり、インターネットを検索しなければならなかった、コマンドのssh localhostと入力し、使いやすい、それを試してみました。つまり、あなたはの.sshフォルダをログに記録するにsshコマンドを確立するために見なければならないが、私はパテを使用してログインしませんか?

root@P1120:/# cd ~
root@P1120:~# cd .ssh
-bash: cd: .ssh: No such file or directory
root@P1120:~# ssh localhost
The authenticity of host 'localhost (::1)' can't be established.
ECDSA key fingerprint is SHA256:rUw3ZClhqOcaAT6wJJ6Av+mhV/f0hf5GEoh2mlM1j2Q.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': y
Please type 'yes' or 'no': yes
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
root@localhost's password:
Linux P1120 4.9.0-12-686 #1 SMP Debian 4.9.210-1 (2020-01-20) i586

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: Sat Mar 21 09:38:04 2020 from 192.168.0.163
root@P1120:~# cd .ssh
root@P1120:~/.ssh# ls
known_hosts

公開された10元の記事 ウォンの賞賛0 ビュー136

おすすめ

転載: blog.csdn.net/misisippi68/article/details/105004878