Dear para programer KLUB, Iseng2 bikin program untuk remote dengan ssh secara otomatis dengan passwordnya, nah program saya sudah berhasil masuk ke komputer tujuan, tapi kok langsung keluar lagi ya
ini script yang saya gunakan : expect << EOF set timeout 20 spawn ssh 202.93.40.202 expect "[email protected]'s password: " send "eldorado\r" expect "*#" EOF dan hasilnya seperti ini : r...@brokenz:~# ./tela spawn ssh 202.93.40.202 [email protected]'s password: Linux zeastea 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 To access official Ubuntu documentation, please visit: http://help.ubuntu.com/ System information as of Wed Jan 27 12:41:17 WIT 2010 System load: 0.79 Swap usage: 2% Users logged in: 1 Usage of /: 12.3% of 64.00GB Temperature: 8 C Memory usage: 53% Processes: 156 Graph this data and manage this system at https://landscape.canonical.com/ Ubuntu Enterprise Cloud Administration and Documentation https://202.93.40.202:8443/ http://www.ubuntu.com/cloud 162 packages can be updated. 67 updates are security updates. Last login: Wed Jan 27 12:40:18 2010 from 124.195.15.166 r...@brokenz:~# Apa ada yang salah dengan script yang saya gunakan, apakah masalah berada pada expect << EOF ? Mhon bantuannya ya Thanks -- 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.
