Find the answer to your Linux question:
Results 1 to 4 of 4

Thread: SCP query

Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    SCP query

    Hi GURU's ,

    I want to enable SCP between 2 machines . In between those two machines there is a checkpoint firewall . I have enabled SSH , http access from machine1 to machine2 . Now i want to scp from machine1 to machine2 or vice-a-varsa . What rules shall i put into the firewall ?
    Thanx in advance .

  2. #2
    Just Joined!
    Join Date
    Apr 2004
    I may be wrong with this but my understanding was that scp used ssh.

    So in theory you shouldnt have to use any other firewall rules as long as ssh is allowed then scp should be.

    I regularly scp files to and from a machine behind a firewall that is set to allow ssh connections and I certainly havent set up any special rules there.

  3. #3
    Just Joined!
    Join Date
    Jun 2004
    London, UK
    SSH (port 22) is enough to do scp.

    If you are refereing to sftp, it also use port 22 but is a separate subsystem of SSH and might be disabled by default, check your sshd_config file.

  4. $spacer_open
  5. #4
    Heyy yes ... it is working now ...yes the SSH port is 22 only .One thing i added more is that i enabled SSH port from machine2 to machine1 ....and now both way it is working .....Anyways ....Thanx a lot LINUX GURUS !!!!!!!!! Cheers !!!!!!!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts