ssh -X 192.168.blahSo setting up alias to do this for me by default was the ideal solution.First of all, edit ~./bashrc and uncomment the following lines:
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fiThen create a file ~/.bash_aliases to insert your alias comands.alias ssh='ssh -X'That's it. As an aside: for ssh -X to work, ensure you have the directive X11Forwarding yes enabled in /etc/ssh/sshd_config on the remote machine.Alias in action
0 comments:
Post a Comment