리눅스

get realtime output of ssh remote command

김승목 2023. 11. 8. 16:13

passwordless ssh setting

ssh-keygen -t rsa -b 4096
ssh-copy-id user@remote_ip

get realtime output of ssh remote command

ssh user@remote_ip "cd __; stdbuf -oL ./test"