Find the answer to your Linux question:
Results 1 to 6 of 6
Hi guys, I am a linux newby and have kinda been thrown in at the deepend. I can connect to our redhat linux server using SSH and SFTP however upon ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    2

    Limited IP address problem

    Hi guys,

    I am a linux newby and have kinda been thrown in at the deepend.

    I can connect to our redhat linux server using SSH and SFTP however upon setting up and FTP account for a client they cannot connect.

    How can I allow their IP address access?

    Thanks

    Sinky

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,099
    ssh and sftp are independent of ftp
    Can you connect via ftp?


    The "Allow their IP" cannot be answered without knowing the setup.

    - has the ftp server a public IP?
    - is there a firewall?
    - what ftp server is it? vsftpd, proftpd,..?
    - does the ftp server config restrict by IP?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Apr 2010
    Posts
    2
    I cannot connect via FTP - only SFTP.

    I use vsftpd for the SFTP I think - is there anyway to find out for sure?

    The server does have a public IP.

    I assume that there is a firewall as from outside the office I cannot connet to it (its an externally hosted server).

    I hope this helps

    Thanks

    Sinky

  4. #4
    Just Joined!
    Join Date
    Jun 2008
    Location
    Vijayawada
    Posts
    6

    Wink

    well., if Firewall is there., i might be stopping the traffic to FTP Port. Other than that if FTP server is pingable ., I dont see any speed breakers in between.

  5. #5
    Just Joined!
    Join Date
    Apr 2006
    Posts
    3
    SFTP is provided by your SSH Server. I comes in on port 22, if you can sftp and ssh, then this port is open on your firewall. FWIW, this would be the prefered and recommened method to use for ftp.

    If you are intent on exposing your valuable login credentials and sensitive data to everone on the internet with netcat or equivalent, then you need to open ports 20 and 21 on your firewall.

    The vsftp server is not your *Secure* ftp server, it is your *regular* ftp server. It is more secure than most others at the system level. However, don't expect it to protect your login credentials or data in transit. It listens, by default on the standard ports 20 and 21.

  6. #6
    Just Joined!
    Join Date
    Apr 2006
    Posts
    3
    I should have added, if your client is using windows, then recommend them to install PuTTY. That will provide an ssh and sftp client for them. Then they can ftp using sftp and advoid exposing login credentials and data in plain text over the internet.

Posting Permissions

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