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

Is it possible to activate scp or sftp support in XG?

hi there,

is it possible to activate scp or sftp support in XG? I want to copy logfiles with win scp or filezilla.

regards

mod



This thread was automatically locked due to age.
Parents
  • I managed to get scp working from the XG firewall to send files to a server in the Advanced Shell. I am running SFOS 16.05. By default, the scp program in the XG system looks for ssh in the following directory: 

    # strings scp | grep ssh

    /usr/local/bin/ssh

    #

    The ssh program is actually in: 

    # which ssh

    /usr/bin/ssh

    #

     

    I specified SCP to use the SSH program in the correct binary location using the -S switch, and transferred a log file to my SSH server:

    # scp -S /usr/bin/ssh /log/ipsec.log user@192.168.1.1:~/fw.ipsec.log

    Password:

    ipsec.log                                                                                                                                                                                      100%   28MB  28.3MB/s   00:00    

    XG210_WP02_SFOS 16.05.4 MR-4#

     

    BTW: Seems like these XG firewalls are running a hardened version of Ubuntu Linux: 

    # cat /proc/version

    Linux version 3.14.22-Aum (root@kar-nsgci-node-01) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #1 SMP Wed May 10 17:55:27 UTC 2017

    #

Reply
  • I managed to get scp working from the XG firewall to send files to a server in the Advanced Shell. I am running SFOS 16.05. By default, the scp program in the XG system looks for ssh in the following directory: 

    # strings scp | grep ssh

    /usr/local/bin/ssh

    #

    The ssh program is actually in: 

    # which ssh

    /usr/bin/ssh

    #

     

    I specified SCP to use the SSH program in the correct binary location using the -S switch, and transferred a log file to my SSH server:

    # scp -S /usr/bin/ssh /log/ipsec.log user@192.168.1.1:~/fw.ipsec.log

    Password:

    ipsec.log                                                                                                                                                                                      100%   28MB  28.3MB/s   00:00    

    XG210_WP02_SFOS 16.05.4 MR-4#

     

    BTW: Seems like these XG firewalls are running a hardened version of Ubuntu Linux: 

    # cat /proc/version

    Linux version 3.14.22-Aum (root@kar-nsgci-node-01) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #1 SMP Wed May 10 17:55:27 UTC 2017

    #

Children
No Data