Is there a simple way to retrieve the IP of a HostName from an ssh config on the command line? Many times I have to use scp and would like to connect to a machine, but I remember only the HostName.
how to find out the ip of an ssh HostName
command line;ssh;scp
scp will read your ~/.ssh/config and /etc/ssh/ssh_config.  as long as you scp to/from the name of one of the host aliases in your ssh config, it should work.since that seems sort of short to be an answer, here's some more info with things you can do with your ssh config...Here's a post that describes some of the advanced features of the ssh config file: http://magazine.redhat.com/2007/11/27/advanced-ssh-configuration-and-tunneling-we-dont-need-no-stinking-vpn-software/Need to tunnel ssh/scp through an http proxy?  no problem, just use the steps outlined here: http://www.mtu.net/~engstrom/ssh-proxy.phpAnother use of the ProxyCommand option: http://jasonmc.wordpress.com/2008/04/16/ssh-magic/