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


Click here to return to the 'Create quick-access ssh shortcuts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create quick-access ssh shortcuts
Authored by: jeremyp on Aug 11, '06 09:08:52AM
Rob, you can create an entry for your host in ~/.ssh/config with a user specified and then use this trick e.g. .ssh/config could contain

host typhon-ext
User foo@bar
hostname tuscan.foobar.co.uk
and then the inet-loc would contain ssh://typhon-ext This will log you in as user foo@bar.

[ Reply to This | # ]
Create quick-access ssh shortcuts
Authored by: pepi on Aug 11, '06 11:19:17AM

Exactly what I do. Have a nicely configured

~/.ssh/config
with all the setting I need, including X11 forwarding, port forwarding/taunneling/reflection, usernames, compression, etc.

I can of course call them from LaunchBar which can issue terminal commands like ssh nickname. I am sure you can do this with QuickSilver as well, possibly even Butler, both of which I do not use, hence I don't know them so well.

Pepi

[ Reply to This | # ]
Create quick-access ssh shortcuts
Authored by: mkmccarty on Aug 11, '06 12:05:30PM

When using the inet-loc file by clicking on it from the finder or by entering the ssh://hostalias directly from Safari, the X11 forwarding settings contained with the .ssh/config file aren't being observed.

From any terminal a "ssh hostalias" works properly.



[ Reply to This | # ]