Quantcast
Channel: SSH.NET Library
Viewing all articles
Browse latest Browse all 2955

Closed Issue: Rosh [1546]

$
0
0
When i use the Rosh command any other commands taht i pass are not working.!

any help greatly appreciated.

Dim connInfo As New Renci.SshNet.PasswordConnectionInfo(servTxt.Text, Val(prtTxt.Text), usrTXT.Text, pwTxt.Text)
Dim sshClient As New Renci.SshNet.SshClient(connInfo)
Dim cmd As Renci.SshNet.SshCommand
Dim acmd As Renci.SshNet.SshCommand
Using sshClient
sshClient.Connect()
cmd = sshClient.RunCommand("rosh -l username -n myserver.mysite.com ")
'cmd = sshClient.RunCommand("cd /opt/isv/")
acmd = sshClient.RunCommand("pwd")
resTxt.Text = acmd.Result
sshClient.Disconnect()
End Using
Comments: No reply from the user and seems like this i snot an issue

Viewing all articles
Browse latest Browse all 2955

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>