Sublime Forum

SFTP freezes at login

#1

Hello everyone!
I am a newbie to Sublime Text, and my first task has been to try and synchronize the code I am working on between my laptop and the cluster of my University. For that, I have been trying to configure an SFTP using the following .json file
{
// The tab key will cycle through the settings when first created
// Visit http://wbond.net/sublime_packages/sftp/settings for help

// sftp, ftp or ftps
"type": "sftp",

"sync_down_on_open": true,
"sync_same_age": true,

"host": "clustername.university.edu",
"user": "myusername",
//"password": "password",
//"port": "22",

"remote_path": "/home/myusername/project/myproject",
//"file_permissions": "664",
//"dir_permissions": "775",

//"extra_list_connections": 0,

"connect_timeout": 30,
//"keepalive": 120,
//"ftp_passive_mode": true,
//"ftp_obey_passive_host": false,
//"ssh_key_file": "~/.ssh/id_rsa",
//"sftp_flags": ["-F", "/path/to/ssh_config"],

//"preserve_modification_times": false,
//"remote_time_offset_in_hours": 0,
//"remote_encoding": "utf-8",
//"remote_locale": "C",
//"allow_config_upload": false,

}
when I try to sync both directions I am asked for my password, but then the system just prints out dots forever. With a colleague, we noticed that the problem seems to be machine-specific, as the same login would work on certain computers but not others. I am using Sublime Text v3 build 3143 on a Mac OS High Sierra v10.13.4. My University cluster uses a multi-factor authentication system that, when I login from the command line, requires me to both enter a password and a code that I receive in a text message on my phone.

Thanks for your help!!

Liliana

0 Likes