cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
572
Views
1
Helpful
2
Replies

Getting tsh:invalid options -- 'c'\n error while running command

vedsinghal
Level 1
Level 1

Hi,

Could someone please help me on this error? why I am getting this even after making a successful connection.

tsh:invalid options -- 'c'\n

I am trying to execute this command from my .Net 6 application through Renci.SshNet library.

Thanks in advance

Thanks

2 Replies 2

Damien Miller
VIP Alumni
VIP Alumni

This section of the community is specific to network access control, endpoint access to the network so you won't find many folks in here that are familiar with .net. 

But this is also not going to be a Cisco specific problem but a problem with what you are passing in code, or with the library. Where is the "c" coming from before you send the "\n" or return/newline. A single "c" alone is not a valid cisco CLI command. 

thomas
Cisco Employee
Cisco Employee

Sorry I don't know what platform / software / technology you are talking about.

You will need to be a lot more specific.

See How to Ask The Community for Help