Execute command and keep ssh session open

execute command and keep ssh session open 

ssh -t 192.168.0.1 'ls /etc; bash'

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos