1 parent 92df306 commit ccbcf07Copy full SHA for ccbcf07
1 file changed
code/AFE/CPLD/ISE/connect_remote_host.sh
@@ -11,7 +11,7 @@ remote_hostname="asiclab005"
11
# open ssh connection, create a directory on the remote host if not already present, mount remote folder and keep connection open afterwards
12
ssh -t $remote_username@$remote_hostname.physik.uni-bonn.de \
13
"[ ! -d $local_hostname-remote ] && mkdir $local_hostname-remote; " \
14
-"sshfs pi@$local_hostname.physik.uni-bonn.de:/home/pi/work $local_hostname-remote; "\
+"sshfs pi@$local_hostname.physik.uni-bonn.de:$(pwd) $local_hostname-remote; "\
15
"cd $local_hostname-remote; "\
16
"bash -l"
17
0 commit comments