How to unblock scp

SMB, NFS, FTP, web file manager and Rsync server.
Locked
User avatar
Hausmeier
Posts: 49
Joined: 03 Dec 2024, 07:09
Greenland

How to unblock scp

Post by Hausmeier »

Is there a way of using scp for transferring files? I always get the message "connection refused"

Thanks for your help.
User avatar
HeliaWu
TM Support
Posts: 63
Joined: 22 Aug 2024, 18:54
China

Re: How to unblock scp

Post by HeliaWu »

Hello, have you configured the SSH service through Control Panel under Network Location settings?
User avatar
Hausmeier
Posts: 49
Joined: 03 Dec 2024, 07:09
Greenland

Re: How to unblock scp

Post by Hausmeier »

TMWut wrote: ↑04 Feb 2025, 21:49 Hello, have you configured the SSH service through Control Panel under Network Location settings?
Thanks for your answer. Well, ssh is activated. Anything else I have to do?
User avatar
Gremlin
Gold Member
Posts: 1786
Joined: 02 Dec 2022, 22:31
Great Britain

Re: How to unblock scp

Post by Gremlin »

Tell scp to use the secure port (as in ssh setting) since scp default is 22 (which is not open on my Tos6).
British By Birth, Canadian By Choice, Residence By Circumstance :)
F5-221 TOS7.0.1422 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.1422 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
Frustrated Beta Tester!!!
F2-221, F2-425+ == Tos7.1 in progress (broken)!
User avatar
Hausmeier
Posts: 49
Joined: 03 Dec 2024, 07:09
Greenland

Re: How to unblock scp

Post by Hausmeier »

Gremlin wrote: ↑05 Feb 2025, 02:56 Tell scp to use the secure port (as in ssh setting) since scp default is 22 (which is not open on my Tos6).
Well, I already did so. In the network setting it says that the ssh Port is 9222. I use 9222 for the scp as well but doesn't change
User avatar
IrisLi
TM Support
Posts: 146
Joined: 07 Aug 2023, 18:10

Re: How to unblock scp

Post by IrisLi »

Hausmeier wrote: ↑05 Feb 2025, 05:47
Hello!It is suggested that you first try to connect to the TNAS via SSH using a command on your local computer.
It is best to use the super administrator account to connect.

Code: Select all

ssh -p 9222 username@ip
Is it possible to connect successfully using the above method?
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
Hausmeier
Posts: 49
Joined: 03 Dec 2024, 07:09
Greenland

Re: How to unblock scp

Post by Hausmeier »

TMqiky wrote: ↑05 Feb 2025, 15:15
Hausmeier wrote: ↑05 Feb 2025, 05:47
Hello!It is suggested that you first try to connect to the TNAS via SSH using a command on your local computer.
It is best to use the super administrator account to connect.

Code: Select all

ssh -p 9222 username@ip
Is it possible to connect successfully using the above method?
Hey, thanks for your reply. I already loggen in via ssh like you posten above - this works perfectly.
In the meanwhile I also tried sftp - this also works. It's just about the scp...
Locked

Return to “File Services”