Skip to content

Commit ccbcf07

Browse files
authored
Update connect_remote_host.sh
1 parent 92df306 commit ccbcf07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/AFE/CPLD/ISE/connect_remote_host.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ remote_hostname="asiclab005"
1111
# open ssh connection, create a directory on the remote host if not already present, mount remote folder and keep connection open afterwards
1212
ssh -t $remote_username@$remote_hostname.physik.uni-bonn.de \
1313
"[ ! -d $local_hostname-remote ] && mkdir $local_hostname-remote; " \
14-
"sshfs pi@$local_hostname.physik.uni-bonn.de:/home/pi/work $local_hostname-remote; "\
14+
"sshfs pi@$local_hostname.physik.uni-bonn.de:$(pwd) $local_hostname-remote; "\
1515
"cd $local_hostname-remote; "\
1616
"bash -l"
1717

0 commit comments

Comments
 (0)