udah cba pake sshpass blm?
itu lebih sderhana lg ...
install dl sshpass-nya trus bikin scriptnya :

------------------------------------------------------------------------------------------
#!/bin/bash
sshpass -p 'password' ssh usern...@iphostname
-----------------------------------------------------------------------------------------

Kalo pengen bisa dijadikan perintah default bash jg bsa, tinggal masukan aja
filenya ke path program bash, panggil deh nama filenya. (letak path-nya sy
lupa, sudah lama soalnya :D ) Setelah itu kita bisa menggunakannya seperti
layaknya perintah ls, ps, dan rekan-rekannya.
Selamat mencoba.

:)

-- 
You received this message because you are subscribed to the Google Groups "Klub 
Linux Bandung" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/klub-linux-bandung?hl=en.

Kirim email ke