Shark Attack
asked on
getting error when importing
I have an ssh client called "termius" to import all my hosts from a notepad. I am using a script with python and github to make all this work. I dont know much about scripting at all but I've been provided with all these tools to make this work. Does anyone know what the error below mean? As you can see the import was successful but it errors out later. I'm using a siple notepad file. I provided a snip it of how it looks.
notepad:
Abilene North Place,10.50.72.254
Abilene South Place,10.50.65.254
Abilene west Place,10.50.65.251
Addison Place,10.50.27.254
test 500,5.5.5.5
notepad:
Abilene North Place,10.50.72.254
Abilene South Place,10.50.65.254
Abilene west Place,10.50.65.251
Addison Place,10.50.27.254
test 500,5.5.5.5
Well, 502 errors can be a wide range of things. Does the script go out to the internet for some reason?
It looks like you are running part of this as/from a Powershell command shell, is there Powershell code? And also python I assume? You will need to post those scripts here if you want to get some help I would expect, it's pretty hard to diagnose problems without them.
Are you just trying to add the hosts from this text file to the local hosts file on a single computer? If so this feels like the hard way to do that, but I suspect there is more to it than that?
»bp
It looks like you are running part of this as/from a Powershell command shell, is there Powershell code? And also python I assume? You will need to post those scripts here if you want to get some help I would expect, it's pretty hard to diagnose problems without them.
Are you just trying to add the hosts from this text file to the local hosts file on a single computer? If so this feels like the hard way to do that, but I suspect there is more to it than that?
»bp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
just started working
It's not really a problem of how you're running it, unless you were expected to provide a URL on the command line.