Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Specific command doesn't work

$
0
0
Hi.
I'm sorry for the mistake, believe me it wasn't intentional and i'm not here to waste your or anyone else's time.
About the copy paste thing, it's not possible in my situation. I'm developing on an intranet completely isolated from the internet. So, copy paste here is not an option and that is why the code is simplified.

About the command, it should change the scope in which following commands will execute, when connecting to the server scope is "Test" and we need to change it to production to run it on the right "data"/devices.
Your last sentence probably explains why my problem rises, as indeed it should be the same shell because "changeto Production" affects the following commands.
Now "does not work" means command doesn't change the scope, but it's clear why because next command is executed in a new shell having Test scope again.
Is there a way to use the same shell for a series of commands? Or maybe send a series of commands?
I hope you understand where i'm heading to.

Thanks a lot for the quick answers and help, it's very appreciated.

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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