Difference between revisions of "GNS3: Port socat pada Ubuntu Image agar bisa di remote di GNS3"

From OnnoWiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
  gnome-terminal -t %d -e 'telnet %h %p' >/dev/null 2>&1 &
 
  gnome-terminal -t %d -e 'telnet %h %p' >/dev/null 2>&1 &
 +
 +
  gnome-terminal -t %d -e 'ssh onno@%h' >/dev/null 2>&1 &
 
   
 
   
 
Ubah menjadi
 
Ubah menjadi

Revision as of 16:11, 25 July 2015

Untuk Image Ubuntu, tampaknya kita akan kesulitan untuk menggunakan telnet di GNS3. Sarann-nya di host tempat GNS3 kita menginstalasi socat

apt-get install socat

Di preference GNS3

konsole --new-tab -p tabtitle=%d -e telnet %h %p
xterm -T %d -e 'telnet %h %p' >/dev/null 2>&1 &
gnome-terminal -t %d -e 'telnet %h %p' >/dev/null 2>&1 &
 gnome-terminal -t %d -e 'ssh onno@%h' >/dev/null 2>&1 &

Ubah menjadi

konsole --new-tab -p tabtitle=%d -e socat UNIX-CONNECT:"%s" stdio,raw,echo=0
xterm -T %d -e 'socat UNIX-CONNECT:"%s" stdio,raw,echo=0' > /dev/null 2>&1 &
gnome-terminal -t %d -e 'socat UNIX-CONNECT:"%s" stdio,raw,echo=0' > /dev/null 2>&1 &