Krzysztof Kajkowski wrote:
2007/8/2, Ian Darwin <[EMAIL PROTECTED]>:
BTW, if you do want to scp, and you have an SSH session running too,
define an entry like
192.168.0.202 phone openmoko gadget fic-gta01
in your desktop's /etc/hosts. Then you can copy-and-paste the
hostname (from the terminal's prompt) *and the colon and the directory*
and use it directly in an scp, for example, I am ssh'd in:
Hi! It's more convenient to define it in your PC's ~/.ssh/config file:
HOST phone
User root
HostName 192.168.0.202
as you can see you can define your default user so you don't have ssh
to [EMAIL PROTECTED] - just do ssh phone.
Indeed! But, since you probably want "phone" in /etc/hosts so you can
ping it, you can omit the last line, e.g., I just added these two lines
to get the effect described above.
HOST phone
User root