ConnectSSH.sh (GPL)I connect to a number of different UNIX host computers on any given day. I have a different user name on each host computer. And each host computer may have SSH daemon running on a non-standard port. I am tired of ssh'ing over to a host computer only to realized that I've forgotten to specify the user name or the port number on the command-line. Connecting to a SSH daemon should be as easy as the way PuTTY GUI does it; double-click on an alias and away you go. So I've written this ConnectSSH.sh script that lets you easily connect to any SSH daemon based on an alias. To set up the alias configuration file, create "ConnectSSH.txt" in the same directory as this executable script. Each entry is on a separate line. Each entry has four fields that are separated by the '|' character. The four fields are: 1) alias name; 2) user name; 3) host name; 4) SSH flags. SSH flags can be an empty field. SSH flags is passed to the SSH client. ConnectSSH.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site. UsageConnectSSH.sh "alias" Configuration Examplescloud|rider|www.skycloud.com|-X Execution ExamplesConnectSSH.sh cloud ConnectSSH.sh amber ConnectSSH.sh "web hosting" Chieh Cheng
Did your message disappear? Read the Forums FAQ. Add Comment
TrackBackTrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here. Messages, files, and images copyright by respective owners. |
Products
|
Services
37 Users Online
![]() |
Copyright © 1996 - 2025. All Rights Reserved. |