2) CUIでのSSH
この例では、ホスト名「yyy.example.jp」の「admin」アカウントにアクセスします。ホスト名の代わりにIPアドレス(グ
ローバル/LAN内であればプライベート)でもOKです。ローカル側は「user1」でPC名を「pc1」とします。「yyy.example.jp」
は、LAN内であれば例えば「192.168.xxx.xxx」(固定でもDHCPでもアクセスできればよい。)になるかも知れません。
///////////////////////////////////////////////////////////////////////////////////////////////
:~$ ssh admin@yyy.example.jp
Enter passphrase for key '/home/user1/.ssh/id_rsa':
Linux yyy 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686
The programs included with the Debian GNU/Linux system are free
software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have mail.
Last login: Mon Mar 29 16:29:30 2010 from pc1.local
admin@yyy:~$
//////////////////////////////////////////////////////////////////////////////////////////////