#Mac terminal ftp on watch plus
In the window that appears you can choose from the four most common connection protocols (SSH, SFTP, FTP, and Telnet), or you can create your own by clicking the plus button at the bottom of this list. To do this, press Shift-Command-K in the Terminal or choose New Remote Connection from the Shell menu. An alternative to doing this is to use Apple's New Remote Connection feature in the Terminal to establish a list of desired protocols and servers. While this is a convenient option to have, it does take some setting up before it can be used. The New Remote Connection option in the OS X Terminal can be used to store commonly accessed servers, and also be used to discover available servers on the local network. When this is done, create a new Terminal session and then type the name of your function (tab-completion will work to facilitate this), followed by pressing Enter and your connection should be established without having to enter the entire command string every time. Save the changes and quit the editor by pressing Control-O followed by Control-X.Ssh -p 22 this command, change the name of the "myssh" function to that of your choice (the server hostname is a good option to use), and then edit the ssh command itself to be appropriate for your server's requirements. In the editor that opens, enter a function similar to the following:.Open the Terminal and type the following command.If you don't need a menu system, you can simply set up a script to contain your ssh command and its arguments with the following method: In doing so you can create a menu system similar to the one mentioned in this post to establish a connection to one of a number of servers using different protocols. The first is to set up a script or shell function that will store the connection information for you. To make this easier, you have several approaches you can take. Often people who use the Terminal for remote access will have several servers they regularly access, which makes typing the commands and URLs to establish the connection rather redundant. This can be done with several different protocols, including SSH and Telnet, FTP, and SFTP, as well as several others. If you are familiar with the Unix command line, then the OS X Terminal is a great resource for accessing systems remotely.