This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SSH rule not working

I want to transfer a file from my Sophos UTM firewall to an internal Linux server with scp from the Sophos shell.

I have a rule that allows ssh traffic from 192.168.1.1 (Sophos inside int) to my internal Linux server 192.168.1.100. When I try to run my scp command as root the firewall blocks that attempt for some reason.

scp text.txt linux@192.168.1.100:/home/linux


This thread was automatically locked due to age.
Parents
  • Direct SSH with user root is not permitted by default (only with user loginuser who hasn't permissions for everything). You will have to change the settings in WebAdmin -> Management -> System -> Shell Access to "Allow root login: root access but only with ssh key" and then input the SSH key of the remote machine into the appropriate field.

    edit: Sorry, didn't read your question correctly.

    Have you used the predefined network object "Internal (address)" in your firewall rule?
Reply
  • Direct SSH with user root is not permitted by default (only with user loginuser who hasn't permissions for everything). You will have to change the settings in WebAdmin -> Management -> System -> Shell Access to "Allow root login: root access but only with ssh key" and then input the SSH key of the remote machine into the appropriate field.

    edit: Sorry, didn't read your question correctly.

    Have you used the predefined network object "Internal (address)" in your firewall rule?
Children