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


Click here to return to the 'Another way to create quick-access SSH shortcuts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way to create quick-access SSH shortcuts
Authored by: mtimmsj on Oct 16, '06 11:00:20AM

Minor quibble: You can create .inetloc files without drag and drop using the "Connect to Server" menu option (command-k) in finder.

For the server name simply enter ssh://username@host/ or just ssh://host/ if you are using an ssh config file (for example), then click the + icon to add it to your favorites.

Also they are just Property List files so you could even create them without the finder, it's just XML.



[ Reply to This | # ]
Another way to create quick-access SSH shortcuts
Authored by: Skurfer on Oct 18, '06 09:55:57AM
Minor quibble: You can create .inetloc files without drag and drop using the "Connect to Server" menu option (command-k) in finder.

For the server name simply enter ssh://username@host/ or just ssh://host/ if you are using an ssh config file (for example), then click the + icon to add it to your favorites.

Good to know. If that functionality can be accessed via AppleScript, then it might have come in handy for me, but there's still the problem where .term files won't open after an ssh:// address has been used.

Also they are just Property List files so you could even create them without the finder, it's just XML.

Yes, the data fork contains XML, but there is also (redundant?) information in the resource fork. Like I said, only Finder seems to accept the XML portion of the file. Other apps seem to rely on the resource fork and can't use .inetloc files if it doesn't contain the right voodoo.



[ Reply to This | # ]
Another way to create quick-access SSH shortcuts
Authored by: mtimmsj on Oct 18, '06 11:18:49AM
For applescript there is no need to use an .inetloc file. Simply use:

open location "ssh://username@host/"


[ Reply to This | # ]
Another way to create quick-access SSH shortcuts
Authored by: Skurfer on Oct 19, '06 07:12:19AM

I meant the ability to make the .inetloc via AppleScript, not the ability to connect.



[ Reply to This | # ]