gluttony Posted November 29, 2005 Report Share Posted November 29, 2005 hi, i have recently installed mandriva 2006 on my computer, i had 10.1 before. I use ftp to transfer files onto this computer and with 10.1 it worked fine. However, since I upgraded, it no longer works. This is the message i get when i try to ftp onto this computer from my apple laptop: ftp: connect: Connection refused i have gone through the guide in this forum for opening up the firewall for incoming ftp connections and i have also tried changing the firewall settings in the mandriva control centre. even turning the firewall off doesn't help. I have authorised ping response and that works fine. Any ideas as to what the problem might be? Some additional information; i don't know if it's of any relevance : * i think that when i installed mandrake 10.1 i set the security to "low", but when i installed mandriva i chose the "high" security level * i'm also having trouble with ssh, again i opened up the ssh ports but when i try and log in via my laptop i get a weird (and very long) error message telling me that the hostname has changed or something, and that someone is doing some "man in the middle" hacking on me... i'm really stumped, can you help? thanks very much paul Quote Link to comment Share on other sites More sharing options...
aioshin Posted November 30, 2005 Report Share Posted November 30, 2005 regarding ftp problem, just to make sure that ftp really running, issue the command #netstat -an | grep tcp that should display open ports and there should be port 21 with regards to ssh to fix the error you'd got open or edit the file known_hosts and delete or comment the line that contains the IP that you intend to connect on.... if you are userx, the file should be at /home/userx/.ssh/known_hosts it looks like that below, so you can just add # before the IP or delete those lines completely 192.16.0.100 ssh-rsa AAAAB3NzaC1yc2EgdnnwjehtwAAAABIwAAAIEAnJiQtyERRJ0BS/KCBdzTWvOb4JfbgP0bTKi/SiUqxwp9yzMFtb51Z3e1GGNp++Ow21+XSLPZHegsxw/TuR917JbQv4BCyYd Y6hiz3Nd+z0AFF98tFU8SKtodhlCXqytDWtMfv5Rj+V/Z1Ofgp8uKDCLkpX1alX2D3qq1vLVoOc0= #192.16.0.200 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAArenhguirgbrgAIEAyItBxkOdYAOveq9+oGBCVIiwp5Z W8nL5fD/waKBw65HHWPdNzFuv1wp84yVDmUwB1xUWiBYzgRN9l/akBfSOxzivonsjN RGQeXBhiMcHFIz+Qpyov2IV9VIrupkgt3QLly2cHAzwdUNhV5azV5IYKsqQXtLG5uZhu dRxfS571nU= Quote Link to comment Share on other sites More sharing options...
gluttony Posted November 30, 2005 Author Report Share Posted November 30, 2005 thanks for the help, this is what i get when i run the "netstat -an | grep tcp" command... i don't see any "21" anywhere: could that be my problem? tcp 0 0 0.0.0.0:32769 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:2049 0.0.0.0:* LIST EN tcp 0 0 127.0.0.1:10026 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:139 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:111 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:6000 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:80 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:820 0.0.0.0:* LIST EN tcp 0 0 127.0.0.1:5335 0.0.0.0:* LIST EN tcp 0 0 127.0.0.1:25 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:443 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:860 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:7741 0.0.0.0:* LIST EN tcp 0 0 0.0.0.0:445 0.0.0.0:* LIST EN tcp 0 0 137.205.109.177:48451 64.111.105.170:80 ESTA BLISHED tcp 1 0 137.205.109.177:33175 83.245.15.165:80 CLOS E_WAIT tcp 0 0 137.205.109.177:33174 83.245.15.165:80 TIME _WAIT tcp 1 0 137.205.109.177:33176 83.245.15.165:80 CLOS E_WAIT tcp 0 0 137.205.109.177:48395 216.239.59.147:80 ESTA BLISHED tcp 0 0 137.205.109.177:48396 216.239.59.147:80 ESTA BLISHED tcp 0 0 :::6000 :::* LIST EN tcp 0 0 :::22 :::* LIST any more ideas? thanks very much Paul Quote Link to comment Share on other sites More sharing options...
aioshin Posted November 30, 2005 Report Share Posted November 30, 2005 meaning you have not started your ftp service yet.... on the ssh side, if you've done my suggestion, since you have port 22 runnin g, you should be able to sftp and transfer files, and you dont need ftp for it... Quote Link to comment Share on other sites More sharing options...
gluttony Posted November 30, 2005 Author Report Share Posted November 30, 2005 meaning you have not started your ftp service yet....on the ssh side, if you've done my suggestion, since you have port 22 runnin g, you should be able to sftp and transfer files, and you dont need ftp for it... <{POST_SNAPBACK}> i'm sorry, i don't understand what you mean by "not started my ftp service yet"... does that mean that i have not got an ftp server installed? if that is the case, which ftp package should i install? as for the ssh, i want to be able to transfer files from my windows computer at work onto my linux home computer, and windows doesn't do ssh (or my computer doesn't in any case). i am intrigued though about what you say about "shtp", how does that work with ssh? is it a command you run while logged in remotely? sorry to keep bothering you but this is really helpful for me..... below i have pasted what the netstat command says when i'm root user: tcp 0 0 0.0.0.0:32769 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:820 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5335 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:860 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:7741 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN tcp 0 0 137.205.109.177:33416 66.102.11.19:80 ESTABLISHED tcp 0 0 137.205.109.177:55177 66.249.93.104:80 ESTABLISHED tcp 0 0 137.205.109.177:45418 207.46.0.88:1863 ESTABLISHED tcp 0 0 137.205.109.177:34950 66.249.93.99:80 ESTABLISHED tcp 0 0 :::6000 :::* LISTEN tcp 0 0 :::22 :::* LISTEN thanks again for the help paul Quote Link to comment Share on other sites More sharing options...
aioshin Posted December 1, 2005 Report Share Posted December 1, 2005 sorry for not elaborating it clearly i'm sorry, i don't understand what you mean by "not started my ftp service yet"... does that mean that i have not got an ftp server installed? if that is the case, which ftp package should i install? might be that after upgrade, some configuration files were set to default, might also be that it was due to your security settings, the system set your box to more secure than your 10.1, so some of the services that you let to run during start-up were set not to start automatically... you can check MCC---System---Enable or disable services you can manually start ftp services there or let it run on start-up ( that if you have an ftp-server installed on your system).. if you have'nt installed any ftp server yet, (and you really want to install even if you can do file transfer using ssh-server) am not familiar what are those ftp-server on mandriva 2006 but you can search for it on your software manager with keyword ftp-server or ftp about sftp: if you want to transfer files from your linux (mandriva) box to your other linux (mandriva2006) box, and assuming that ssh-server has been installed and running ( its running since you have port 22 open), accessing mandriva 2006 from your other linux desktop, you just have to open the konqueror (kde) or nautilus (gnome) then at the address bar, just type sftp://ip-of-that-mandriva2006-box or fish://ip-of-that-mandriva2006-that-runs-ssh-server then a dialog box will be prompted for you to enter username and password, the username and password is for those users on that mandriva2006 that you have access, then after that, you can open the home directory of that user you've entered and other folders that are readable or writable of the group where that users belongs. why sftp? its more secure than ftp since ftp transmit your password over the network or internet as plain text, while using ssh or sftp, your password are encrypted or not readable. ok, for your windows sftp client, you can check http://winscp.net/eng/index.php or http://filezilla.sourceforge.net/ they both support sftp Quote Link to comment Share on other sites More sharing options...
gluttony Posted December 1, 2005 Author Report Share Posted December 1, 2005 awesome! i'll give that a try :) thanks very much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.