diff --git a/sshfs_gui.sh b/sshfs_gui.sh index a617fe0..bff8fcc 100755 --- a/sshfs_gui.sh +++ b/sshfs_gui.sh @@ -137,7 +137,7 @@ configure_mount() { if ! ssh "$server_name" "test -d $sshfs_remote_path" then - if dec_box "Directory does not exist on remote host, create?" + if dec_box "Directory $sshfs_remote_path does not exist on remote host, create?" then if ! error_msg=$(ssh "$server_name" "mkdir $sshfs_remote_path" 2>&1) then @@ -146,7 +146,10 @@ configure_mount() { fi fi - if error_msg=$(sshfs "$server_name:$sshfs_remote_path" "$sshfs_local_path" 2>&1) + if error_msg=$(sshfs \ + "$server_name:$sshfs_remote_path" \ + "$sshfs_local_path" \ + -oauto_cache,reconnect,Compression=no 2>&1) then kill $info_pid succ_box "Successfuly linked $sshfs_local_path to $sshfs_remote_path on $server_name"