.ssh/config and BBEdit

I’ve been using SSH to remotely access UNIX (Linux, Mac OS X / macOS, etc) computers for more than 20 years (switching over when the perils of plaintext telnet were made very clear to me during HIP ’97). Not sure how I never knew to setup an .ssh/config file before! Super convenient.

Had to figure it out to get BBEdit talking to a remote web server (BBEdit only groks FTP/SFTP), and I’ve configured the web server to only accept key pair authenticated logins. Good tutorial:

https://linuxize.com/post/using-the-ssh-config-file/

Also, this is in the manual, but it still took me a second to find it ... FTP/SFTP bookmarks are configured under the BBEdit menu → Setup... option. (There’s no way to bookmark an open connection, or to configure one from File → Open from FTP/SFTP Server..., which is a little surprising / obscure, for a Mac-native application with such a long history.)

Mac-Pro:~ wingedgeek$ cat .ssh/config 
Host webserver.mydomain.com
IdentityFile ~/.ssh/webserver.key 
Host webserver
Hostname webserver.mydomain.com
IdentityFile ~/.ssh/webserver.key
User winged geek
Host nas
Hostname 192.168.1.10

User filemgr

Comments