ssh auto login without password

#
# run to get /etc/ssh_config, /etc/sshd_config
ssh-host-config

# run to get ~/.ssh/id_rsa.pub
ssh-user-config

# append id_rsa.pub to remote key store
cat ~/.ssh/id_rsa.pub | ssh user@host "cat >> .ssh/authorized_keys"

沒有留言:

start versus restart for docker containers

Docker start vs restart :差異快速看懂 docker start 與 docker restart 都能讓容器跑起來, 但語意與清理範圍完全不同。 1.指令行為比較 指令 行為說明 適用狀態 ...

總網頁瀏覽量