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.

cayco

Reply via email to