演習室の端末からスカラーマシン(scalar)にログインするには,sshまたはslogin コマンドを使います.パスワードは特に必要ありません.
$ ssh scalar
または
$ slogin scalar
でログインできるはずです.
研究室や自宅からスカラーマシン(scalar)にログインするには,RSA-公開鍵認証 が必要となります.
演習室端末にて暗号鍵(公開鍵と秘密鍵のペア)を作り,公開鍵をホームディレクトリに,秘密鍵をUSBメモリなどで演習室外で使用するマシンへコピーします.
$ ssh-keygen
Generating public/private rsa key pair. Enter file in which to save the key (/home/ユーザ名/.ssh/id_rsa):
Enter passphrase (empty for no passphrase): (入力) Enter same passphrase again: (入力) Your identification has been saved in /home/ユーザ名/.ssh/id_rsa. Your public key has been saved in /home/ユーザ名/.ssh/id_rsa.pub. The key fingerprint is: 77:fa:43:bb:48:a6:56:6f:09:e1:46:78:a5:24:c7:32 masa-n@ws.cs.kobe-u.ac.jp
秘密鍵: $HOME/.ssh/id_rsa 公開鍵: $HOME/.ssh/id_rsa.pub
$ cd ~/.ssh $ mv id_rsa.pub authorized_keys $ chmod 600 authorized_keys
持って帰った秘密鍵(id_rsa)を用いて,scalar.scitec.kobe-u.ac.jpにsshします.
$ ssh ユーザ名@scalar.scitec.kobe-u.ac.jp -i /適当なパス名/id_rsa パスフレーズ入力...
ウィンドウズの場合には,TTSSHが便利です.