Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: New to Linode
PostPosted: Wed Nov 27, 2013 7:36 pm 
Offline
Junior Member

Joined: Sat Nov 10, 2012 10:24 pm
Posts: 22
Rookie just trying to get the hang of things. Booted server. Installed Ubuntu 12.04 64 bit. Sudo user. But when I try to ftp create new folder or upload any thing I get permission denied.

Added my user in vi /etc/sudoers:
secretAgent ALL=(ALL:ALL) ALL

Any helpful hints to point me in the right direction?


Top
   
 Post subject: Re: New to Linode
PostPosted: Wed Nov 27, 2013 10:55 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
don't use FTP for anything ever?

sarcasm aside, you really should be using sftp or scp or ftps, not ftp


Top
   
 Post subject: Re: New to Linode
PostPosted: Thu Nov 28, 2013 11:09 am 
Offline
Senior Member

Joined: Tue Aug 02, 2011 2:45 pm
Posts: 55
When you're using FTP, the FTP user still needs to have read/write permissions to the files. As far as I know, adding a user to sudoers only allows that user to use the sudo command from a command prompt via ssh. Also follow the advice about not using FTP. If you have ssh setup, sftp should work easily and is secure.


Top
   
 Post subject: Re: New to Linode
PostPosted: Thu Nov 28, 2013 11:32 am 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
Also, might want to check out some of the Linode Library articles, should help getting started out: https://library.linode.com/getting-started

See the Next Steps at the bottom of that page about securing your server. There's good information on networking here: https://library.linode.com/networking


Top
   
 Post subject: Re: New to Linode
PostPosted: Fri Nov 29, 2013 11:43 pm 
Offline
Junior Member

Joined: Sat Nov 10, 2012 10:24 pm
Posts: 22
I did read the linode starting set up. SSH root an all that. I use SFTp well tried....... I can login but no access to anything


Top
   
 Post subject: Re: New to Linode
PostPosted: Sat Nov 30, 2013 3:24 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
I'm not sure from your descriptions what's going on. Try logging in with an ssh client.

1) Run "ls -l". Do you see your home user's files and directories?

2) Run "touch mynewfile". Can you create that new file?

3) If 1 and 2 work then from your client assuming it has scp ability, run "scp myfile.txt userid@yourlinode:/home/youruserid/desired_directory".

I don't know what your client OS is, if it's Windows and you're not familiar with Linux then you might want to use Putty or one I use when I'm stuck on Windows sometimes, WinSCP or if you want what WinSCP and Putty can do then try Bitvise's Tunnelier, excellent product.

If your client OS is Windows and you are familiar with Linux commands or want to learn them or just make Windows usable, install Cygwin and when you do remember to pick the OpenSSH package and you will get the real ssh and scp clients and the real Bash shell client.

After installing a new Linode instance of almost any Linux distribution, you should at least be able to scp a file to/from it. I use Ubuntu, I don't think you can go wrong there.

If you suspect you are installing from a bad distribution image offered by Linode (highly unlikely or someone else would have seen it by now) then contact support and describe your situation.


Top
   
 Post subject: Re: New to Linode
PostPosted: Sat Nov 30, 2013 3:57 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
WinSCP no matter how many updates go by, never seem to get a grip on performance (which is abysmal).

Use Filezilla instead, it's SFTP mode is speedy, it's GUI is user friendly, it's actively developed, and you can use certs, so you can safely login as root.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group