SSH commands

Commands to submit

Command

Behavior

bsub -IS

Submits a batch interactive job under a secure shell (ssh).

bsub -ISp

Submits a batch interactive job under a secure shell and creates a pseudo-terminal when the job starts.

bsub -ISs

Submits a batch interactive job under a secure shell and creates a pseudo-terminal with shell mode support when the job starts.

Use for interactive shells or applications that redefine the CTRL-C and CTRL-Z keys (for example, jove).

bsub -IX

Submits an interactive X-window job., secured using SSH.

bsub -XF

Submits a job with SSH X11 forwarding.

bsub -XF -I

Submits an interactive job with SSH X11 forwarding. The session displays throughout the job lifecycle.

Commands to monitor

Command

Behavior

netstat -an

Displays all active TCP connections and the TCP and UDP ports on which the computer is listening.

bjobs -l

Displays job information, including any jobs submitted with SSH X11 forwarding.

bhist -l

Displays historical job information, including any jobs submitted with SSH X11 forwarding.