I also read the documentation online and it does not mention any additional steps that should be necessary. I was thinking that I must have made a mistake in the configuration file, but I can not figure out what it should be. It seems to me like the plugin simply ignored the fact that I have supplied an SSH key: If I enter my password for the FTP server, it does connect successfully, but of course that's not what I want. I also made sure that it's not the password of the key it is asking (the key currently does not have a password) and just hitting enter without entering a password does not lead to success. Instead, when connecting I am prompted to enter my password like when not using an ssh key. Now, when trying to do the same using Sublime Text with the SFTP plugin, it does not work. PS C:\> sftp -i C:/Users//.ssh/id_rsa to course, username and host are replaced with my actual credentials. When I manually run sftp on the power shell, a connection is successfully established. and customizable text editor with support for a huge list of programming. The applications include a text editor (Sublime Text 3), a browser (Chrome), an image viewer. My ssh key file is C:/Users//.ssh/id_rsa. After Package Control installation has completed, quit/exit Sublime Text. We will show you in class how to install these applications. However, I then tried to use an ssh key instead. Sublime Text opens the configuration file for the connection. As long as I use a normal user/password login everything works fine and I can establish a connection. On the File menu, click SFTP/FTP, and then click Setup Server. This is easier on Windows where you can right click and have the default shell. On the Mac I like the Open in Sublime button to click a folder and then click Open in Sublime and have Sublime open up the tree as a project. For my project I have set up a sftp-config.json file specifying the details necessary for the FTP connection. Once you have made the connection to the server, the contents are viewable in Finder, Explorer or any other application. I am using Sublime Text with the SFTP plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |