On Fri, 3 Dec 1999, Atsushi Kuroda wrote:

AK> I can log in and run shell to another machine by 'ssh A -p 11111',
AK> however I cannot run any commands like 'ssh -n B xterm -p 11111'
AK> or 'ssh B ls -p 11111' including X commands (A or B is machine name).

Try "ssh -p 11111 B ls".  ssh is probably reading "xterm -p 11111" as
the command to execute.

Optionally, add a "-v" to the commandline to watch the connection.  You
should see something like:

yourhost: Connecting to A [192.168.1.1] port 1111.

if it says port 22, see first line above.

-- 
Randomly Generated Tagline:
"Linux poses a real challenge for those with a taste for late-night
 hacking (and/or conversations with God)."
 (By Matt Welsh)

Reply via email to