Page 1 of 1

How to unblock scp

Posted: 04 Feb 2025, 17:37
by Hausmeier
Is there a way of using scp for transferring files? I always get the message "connection refused"

Thanks for your help.

Re: How to unblock scp

Posted: 04 Feb 2025, 21:49
by HeliaWu
Hello, have you configured the SSH service through Control Panel under Network Location settings?

Re: How to unblock scp

Posted: 04 Feb 2025, 23:53
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?

Re: How to unblock scp

Posted: 05 Feb 2025, 02:56
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).

Re: How to unblock scp

Posted: 05 Feb 2025, 05:47
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

Re: How to unblock scp

Posted: 05 Feb 2025, 15:15
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?

Re: How to unblock scp

Posted: 06 Feb 2025, 03:30
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...