SSH tunneling

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

SSH tunneling Sun Dec 29, 2013 7:16 pm • by eripa
Hi,

I'm trying to use the new Upload action to upload via SFTP. I have a series of SSH hops via ssh-config. Unfortunately Hazel seem to ignore my SSH config resulting in "Domain name not found" when trying use my SSH aliases.

Any hope for future support? Thanks a lot for an awesome app!

Eric
eripa
 
Posts: 3
Joined: Sun Dec 29, 2013 7:13 pm

Re: SSH tunneling Mon Dec 30, 2013 4:55 pm • by Mr_Noodle
Hazel uses DNS to resolve names. Can you give me examples of what you are doing? Are you actually using SFTP or using some other protocol over an SSH tunnel?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: SSH tunneling Thu Jan 09, 2014 8:51 am • by eripa
Hi,
sorry about the late reply.

Maybe SSH hopping is a better name than tunneling..

I have this in my .ssh/config

Host my_hazel_machine_external
HostName my_hazel_machine
ProxyCommand ssh external.my_domain.com exec nc %h %p


Then I can simply use "ssh my_hazel_machine_external" in one step to connect to a machine behind my external SSH server at external.my_domain.com. Unfortunately when trying to use "my_hazel_machine_external" as the hostname in Hazel I get "Domain name not found".

The error is explained by SFTP in Hazel using DNS only for resolving, but usually SSH/SFTP solutions supports host aliases configured in the ssh config.

Thanks a lot,
Eric
eripa
 
Posts: 3
Joined: Sun Dec 29, 2013 7:13 pm

Re: SSH tunneling Thu Jan 09, 2014 4:24 pm • by Mr_Noodle
I see. I'll have to look into this aliasing and see if it's appropriate to include in a future release.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: SSH tunneling Thu Jan 09, 2014 5:02 pm • by eripa
Thanks a lot! :)
eripa
 
Posts: 3
Joined: Sun Dec 29, 2013 7:13 pm


Return to Support