ssh 远程执行命令 -t

# ssh -p22022 -t 122.16.67.116 ls -l /root/.ssh
total 12
-rw-r--r-- 1 root root 1176 Jan 24 22:15 authorized_keys
-rw------- 1 root root 1675 Nov 11 20:41 id_rsa
-rw-r--r-- 1 root root 3625 Oct 25 18:50 known_hosts
Connection to 112.126.67.115 closed.
原文地址:https://www.cnblogs.com/bass6/p/6347929.html