No connect WinSCP on the CentOS

Results 1 to 11 of 11
  1. #1
    Member mansen is offline
    MemberRank
    Oct 2008 Join Date
    96Posts

    No connect WinSCP on the CentOS

    Can someone help me please I can not connect my WinSCP on CentOS

    Ip of CentOS entered nix happen
    Timeout shows me he is always on

    pls help

    guilty for my English


  2. #2
    Member Vip3ra is offline
    MemberRank
    Jul 2008 Join Date
    87Posts

    Re: No connect WinSCP on the CentOS

    same thing for me...but it coud be because i have dynamic ip and dont know what ip's so set

    But first of all answear to mansen and then if some1 know answear to me aswell

  3. #3
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: No connect WinSCP on the CentOS

    Can you ping the centos IP? You won't be able to connect unless you can ping it.

    Make sure you are trying to connect to the correct ip by checking "ifconfic" on centos. Also i would recommend manually supplying centos with an ip address as i am convinced a lot of these networking problems are down to people with routers having 2 DHCP servers (your router and the vmware one) and the wrong one is handing out the ip which stops communication somehow. i have never had these problems, but i always specify the ip manually.

  4. #4
    Apprentice D e v i L is offline
    MemberRank
    Feb 2009 Join Date
    18Posts

    Re: No connect WinSCP on the CentOS

    Quote Originally Posted by chumpywumpy View Post
    Can you ping the centos IP? You won't be able to connect unless you can ping it.

    Make sure you are trying to connect to the correct ip by checking "ifconfic" on centos. Also i would recommend manually supplying centos with an ip address as i am convinced a lot of these networking problems are down to people with routers having 2 DHCP servers (your router and the vmware one) and the wrong one is handing out the ip which stops communication somehow. i have never had these problems, but i always specify the ip manually.
    do you mean "ifconfig"? anyways thanks a lot for the help i was searching this forum for that... thank you very much!!! it helped a lot! go Chumpy!

  5. #5
    Member Vip3ra is offline
    MemberRank
    Jul 2008 Join Date
    87Posts

    Re: No connect WinSCP on the CentOS

    i can ping my ip but the only thing its that winSCP and putty cant connect to the centos....says something like connection refused....but when i installed WMware at IP settings i selected the dynamic 1 because my ip its like that and im thinking now maybe this would be the problem....dynamic ip can be sometime very annoying because doesent exist a program that can "freez" the curent ip

  6. #6
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: No connect WinSCP on the CentOS

    Quote Originally Posted by D e v i L View Post
    do you mean "ifconfig"? anyways thanks a lot for the help i was searching this forum for that... thank you very much!!! it helped a lot! go Chumpy!
    Oops yes it's "ifconfig". Typing too fast :P
    Quote Originally Posted by Vip3ra View Post
    i can ping my ip but the only thing its that winSCP and putty cant connect to the centos....says something like connection refused....but when i installed WMware at IP settings i selected the dynamic 1 because my ip its like that and im thinking now maybe this would be the problem....dynamic ip can be sometime very annoying because doesent exist a program that can "freez" the curent ip
    If you don't have a lan (i.e. you windows ip doesn't start with 192, 10 or 172) then your vmware netwroking should be set to NAT not bridged.

    Can you post the last 2 octets of your windows and centos ip (e.g. xxx.xxx.123.456, leave the first 2 out for security) as it will give me an idea of how your network is configured.

  7. #7
    Member Vip3ra is offline
    MemberRank
    Jul 2008 Join Date
    87Posts

    Re: No connect WinSCP on the CentOS

    il post the first part of each ip in case you need it
    The Local Are Connection is 169.xxx.35.79
    And im using an internet that connects via username and password...so i have 2 connections for starting the internet...the second 1 is 86.xxx.138.94

    im installing again now VMware because i formated my pc...i will set now NAT connection not bridget

  8. #8
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: No connect WinSCP on the CentOS

    Ah, you have a LAN so VMware networking should be on bridged.

    I would manually supply the ip address, netmask and gateway to the centos machine. I'm convinced that these mysterious networking problems are down to conflicts with 2 different DHCP servers (the router and the vmware one). I'm guessing the subnet mask for the local area connection is 255.255.255.0 so set your centos to something like 169.xxx.35.100 and the same netmask and gateway as the windows local area. That will stop it using DHCP and might fix it.

  9. #9
    Member Vip3ra is offline
    MemberRank
    Jul 2008 Join Date
    87Posts

    Re: No connect WinSCP on the CentOS

    yea....subnet mask its 255.255.0.0(you wear close anyway)....il try now to re-set the ip and i will tell you after if it succedet

  10. #10
    Novice NightCabal is offline
    MemberRank
    Jun 2012 Join Date
    1Posts

    Re: No connect WinSCP on the CentOS

    chumpy can you help my plss? because at winscp i tryed use my router ip 192.xxx.x.3 and 192.xxx.x.1 bu t winscp give my connection refuse and idk what to do plss help my. Yahoo id: nightsro_nightsro add my plss

  11. #11
    The Cat in the Hat cypher is offline
    MemberRank
    Oct 2005 Join Date
    IrelandLocation
    5,073Posts

    Re: No connect WinSCP on the CentOS

    Install openssh server and disable your firewall:

    yum install openssh-server
    iptables -F



Advertisement