Hi All,
I'm sorry, it's an easy question, but I don't understand how I can connect to the Netonix WS-6-MINI with SCP
I want to use the freeware WinSCP with this parameters:
host: 192.168.1.20
port: 22
username: admin
password: admin
protocol: scp
WinSCP start to connect on the switch and it disconnect.
My goal is export the backup file (/tmp/wispswitch_config.tar) to my computer, modify the file "config.json" and restore it with the command "php-cli config.php --restore /tmp/restore_config.tar"
Thanks for your help!
Use SCP for export/import on Netonix WS-6-MINI
-
jakematic - Experienced Member
- Posts: 168
- Joined: Thu Jul 14, 2016 8:15 am
- Location: NC USA
- Has thanked: 362 times
- Been thanked: 87 times
Re: Use SCP for export/import on Netonix WS-6-MINI
Is ssh enabled on the switch under Device -> Configuration ?
I can scp no problem, but do it from the command line:
I can scp no problem, but do it from the command line:
- Code: Select all
root@ubu:/Fedora/PoE# scp admin@ws12:/www/config.json config.json
admin@ws12's password:
config.json 100% 20KB 19.7KB/s 00:00
-
huard - Member
- Posts: 3
- Joined: Mon Jan 09, 2017 5:26 pm
- Location: France
- Has thanked: 1 time
- Been thanked: 0 time
Re: Use SCP for export/import on Netonix WS-6-MINI
Yes, SSH is enabled.
I can connect to the switch with putty. However not with WinSCP.
I can connect to the switch with putty. However not with WinSCP.
-
Eric Stern - Employee
- Posts: 532
- Joined: Wed Apr 09, 2014 9:41 pm
- Location: Toronto, Ontario
- Has thanked: 0 time
- Been thanked: 130 times
Re: Use SCP for export/import on Netonix WS-6-MINI
WinSCP won't work with the switch because it assumes it will get a shell prompt after connecting, but on the switch you get a CLI prompt instead of a shell prompt.
You'll need a command line scp client. I recommend pscp, which is part of the putty package.
http://www.chiark.greenend.org.uk/~sgta ... atest.html
You'll need a command line scp client. I recommend pscp, which is part of the putty package.
http://www.chiark.greenend.org.uk/~sgta ... atest.html
-
huard - Member
- Posts: 3
- Joined: Mon Jan 09, 2017 5:26 pm
- Location: France
- Has thanked: 1 time
- Been thanked: 0 time
Re: Use SCP for export/import on Netonix WS-6-MINI
It's works very well.
Thanks.
Olivier
Thanks.
Olivier
5 posts
Page 1 of 1
Who is online
Users browsing this forum: j2840fl and 33 guests