Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Secure Shell

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-17-2005, 07:40 AM
matt131 matt131 is offline
Registered User
 
Join Date: Mar 2005
Posts: 21
Problem running commands with ssh

OK probably an easy one for you :-)

I am having trouble running the dir command with ssh on Windows servers running vShell (VShell_2_3_1_151) and using OpenSSH (OpenSSH_4.1p1) for the client. I have also tried to use vsh (VSH version 5.0.0 (build 62) starting. (Using SSH2Core version 3.1.0.545.). If I make a simple .bat file on the remote server to issue the dir command then execute that with ssh it works. Is there a problem running shell built in commands?

This is what I get
[ 7:25][C:\work]>ssh -p 22 -i c:/.ssh/id_dsa user@server dir
00007: Could not start program (dir): The system cannot find the file specified.

Does this really not work or am I just overlooking something?

Thanks in advance for you help.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 03:59 PM.