Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Generate bookmarks for use with JellyfiSSH' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Generate bookmarks for use with JellyfiSSH
Authored by: fracai on Sep 02, '09 07:56:46AM
It'd probably be useful to modify the script to read the host username from the input file as well. Using a default of whatever the specified local username is fine, but it's probably unlikely that every destination server is configured with the same login name.

Place the following before the protocol switch:
$loginname = ($#host_entry_arry > 1 ? $host_entry_array[2] : $username );

And then add your loginname to each entry where it isn't the same as your username.

---
i am jack's amusing sig file

[ Reply to This | # ]