SSH alias config timing out

I configured my ~/.ssh/config file with the following

Host alias1      HostName <host.dns.address>      User <username>      Port 22 

But, when doing ssh alias1 I get a timeout error:

ssh alias1 ssh: connect to host host.dns.address port 22: Operation timed out 

However, if I do it directly from the command line

ssh -p 22 host.dns.address 

I'm able to connect correctly. I checked for typos but everything seems to be correct. Any ideas on what could be wrong on my alias config?

Replay

Category: ssh Time: 2016-07-29 Views: 0
Tags: ssh alias

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.221 (s). 12 q(s)