SSHのコマンド使用メモ(2002/11/07
改)
・SSH1のクライアントモジュールがインストールされていること
・Unix(Linux) to Unix(Linux)
1.SSH1のsshコマンドを使用し、他サーバのSSHサービスポートにアクセスしてみる。
% ssh ユーザ名@ドメイン名(またはIPアドレス)
2.うまく接続できるとパスワードを要求してきます。またここでも認証されていないサーバに対し始めの1回だけ、認証を許可するか?と聞いてきますので "yes"と答えてください。
Host key not found from the list of known hosts.
Are you sure you want to continue connecting (yes/no)? yes
Host 'namusan.org' added to the list of known hosts.
Creating random seed file ~/.ssh/random_seed. This may take a while.
hogehoge@mamusan.org's password:(^_^)v パスワードが正しければ、相手側のサーバにloginできます。
SSH1のscpコマンドを使用し、他サーバにファイルを転送してみる。
% scp foo remote:~
ユーザ名を指定してのファイル転送指定も可能です。
% scp foo hoge@remote:~
どちらの指定共にパスワードを聞いてきます。パスワードが正しければ、相手側のサーバにファイルが転送されます。
本家 : WinSCP2
日本語化 : Windowsソフト
ffftpなみの操作でできるので、非常に便利べんり♪
校正中・・・なんてねぇー
% rsync -e ssh -a --delete localhtml www:/var/www/html