Hey, everyone. Let me start with I’m brand new to openSUSE, but I’m learning.
Problem: I can’t ftp to our website.
Background: My boss hosts is his website on his own Linux Server. It has openSUSE 12.1.
I created a new website on my macbook using wordpress. I want to send it to his Linux server through ftp. Using FileZilla on my laptop, I put in:
Host: www(dot)domainname(dot)com
Username: root
Password: (same password I use to log into this server as root)
But I get the error, “Could not connect to server.”
Wordpress works fine on Linux if I manually move files with a flash drive. Ftp would be better for constant updates, though.
**Questions: **
Do I need to add or configure anything in openSUSE so that I can ftp to this server?
To ftp, should I be using the user name “root” and the password I use to login (or something else)?
I’m hoping answers will help other noobs with the same problem.
You have to enable an ftp server on the boss’s server, allow ftp ports in the SuSE firewall and arrange port forwarding through the boss’s router to the server.
I use vsftp to do what you’re attempting.
For myself,
I’ve been happy running pureftp, it’s one of a selection that will integrate with YAST automatically. When you install pureftp, you’ll immediately see a new “FTP Server” applet in YAST which can do basic service stop/start, various security settings and configurations. With solution, YAST will automatically configure the details, like opening appropriate FW port(s), User access, more.
The thing to remember when configuring an FTP Server app is that unlike other file repository systems you need to inspect and configure security on <two> levels… The underlying system level and at the application level. If permissions won’t permit at either level, you are blocked.
Also, depending on how much say you have I personally prefer setting up HTTP/HTTPS access to files if the files don’t exceed more than a few megabytes in size. Download is possible with no special configuration, uploading typically requires WebDAV on the Server.
Don’t use www in a ftp domainname. So host is : yourbossdomain.com
You need a username and password. If the server is setup correctly it won’t even allow root access over ftp.
Hey, tsu2. So do you think pureftp is the easiest ftp for me. Like I said, I’m brand new to openSUSE. I’m sure I’ll pick it up as time goes on, but I probably need to start with something simple that I can get going.
Thanks, info. If I try and log into our openSUSE server from my laptop, shouldn’t I be able to use filezilla? then, type in: domainname.com for Host, myusername for Username and mylinuxpassword for Password?
On 2012-04-17 20:06, mks01 wrote:
>
> Knurpht;2456252 Wrote:
>> If the server is setup correctly it won’t even allow root access over
>> ftp.
>
> Thanks, info. If I try and log into our openSUSE server from my laptop,
> shouldn’t I be able to use filezilla? then, type in: domainname.com for
> Host, myusername for Username and mylinuxpassword for Password?
>
> If I did that correctly, I’m not getting in.
As said already, root can not login over ftp. Do not change that. Also, if
your server machine was named www.domainname.com, you will not be able to
log into domainname.com unless they happen to point to the same machine.
Another, better alternative, is to use secure shell to transfer files
(ssh). Setting ftp to work over two firewalls is not simple.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2012-04-20 07:16, mks01 wrote:
>
> OK thanks! I’ll look into ssh and let you know how it goes. I didn’t
> know you couldn’t use root for ftp. Thanks again. Good info.
You can, actually, if you insist on it. But it is a very bad idea because
the password is sent in clear text, and any sniffer can get a good look at
it. So it is disabled.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)