2020年10月30日金曜日

ssh X11forwarding

1)  リモート側(Xクライアント)

# vi /etc/ssh/sshd_config

X11DisplayOffset 10

X11Forwarding yes

X11UseLocalhost no

XauthLocation /usr/bin/xauth

# systemctl restart sshd


2) 起動

sshpass -p パスワード ssh  -X -C -p 22  xxx.xxx.xxx.xxx





0 件のコメント:

コメントを投稿

SSD比較

https://kakaku.com/prdcompare/prdcompare.aspx?pd_cmpkey=K0001673420_K0001588762_K0001559684_K0001504089_K0001546441_K0001662527&pd_ctg=0...