Screen Grab Utility
Ian Darwin
ian at darwinsys.com
Fri Aug 3 00:20:06 CEST 2007
Krzysztof Kajkowski wrote:
> 2007/8/2, Ian Darwin <ian at darwinsys.com>:
>
>> 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 root at phone - 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
More information about the device-owners
mailing list