Go Back   cPanel Forums > General Discussion > cPanel Newbies

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-22-2009, 02:43 PM
Registered User
 
Join Date: Jun 2009
Posts: 11
Selena is on a distinguished road
Allow SFTP without Shell?

Is it possible? How would I go about enabling this?

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-22-2009, 06:57 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,449
Infopro is on a distinguished road
Lightbulb

It should be by default these days.

cPanel > FTP Accounts > scroll down to find the username for the account, far right icon Configure FTP Client. There you should see the SFTP Server Port listed for your users.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-22-2009, 07:20 PM
Registered User
 
Join Date: Jun 2009
Posts: 11
Selena is on a distinguished road
Quote:
Originally Posted by Infopro View Post
It should be by default these days.

cPanel > FTP Accounts > scroll down to find the username for the account, far right icon Configure FTP Client. There you should see the SFTP Server Port listed for your users.
Thanks for replying. I'm not quite finding that. I went into WHM then looked under FTP Accounts but not seeing that option. Hmmmm...

I also set up a new FTP account in cPanel under a test domain. It also didn't give SFTP settings, only settings for FTP. I do not want to enable Shell access for my customers but feel it's important that they have the ability to upload files via SFTP. I hope there is a way for them to do this.

Last edited by Selena; 06-22-2009 at 07:41 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-22-2009, 10:40 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,449
Infopro is on a distinguished road
Lightbulb

I never mentioned WHM, I was speaking of in a cPanel account on your server. AFAIK, all users have access to SFTP on a cPanel server by default now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-23-2009, 10:33 AM
cPanelDavidG's Avatar
cPanel Sales Support
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,985
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by Infopro View Post
I never mentioned WHM, I was speaking of in a cPanel account on your server. AFAIK, all users have access to SFTP on a cPanel server by default now.
Correct, in cPanel 11 all cPanel users have SFTP access. However, additional FTP accounts (virtual FTP accounts) do not have SFTP access.

If the hosting provider is not yet using cPanel 11, please have them upgrade.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-24-2009, 03:56 AM
Registered User
 
Join Date: Jun 2009
Posts: 11
Selena is on a distinguished road
Quote:
Originally Posted by cPanelDavidG View Post
Correct, in cPanel 11 all cPanel users have SFTP access. However, additional FTP accounts (virtual FTP accounts) do not have SFTP access.

If the hosting provider is not yet using cPanel 11, please have them upgrade.
Thank you. We are using cPanel 11. However, when I select SFTP, it gives an error message telling me the password is invalid. If I set it to FTP, it works. This is using Fetch for Mac.

Hostname: ftp.mydomain.com
Username: myusername
Password: mypassword

I tried using ports 21 and 22 to see if it made a difference, but it didn't.

Are there specific settings that I should use for SFTP?

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-24-2009, 06:00 AM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,449
Infopro is on a distinguished road
Lightbulb

The port number listed in your cPanel as I mentioned and the IP for the server, will get you in. You'll need to properly config your FTP client as well.

Last edited by Infopro; 06-24-2009 at 06:06 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-24-2009, 10:45 AM
cPanelDavidG's Avatar
cPanel Sales Support
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,985
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by Selena View Post
Thank you. We are using cPanel 11. However, when I select SFTP, it gives an error message telling me the password is invalid. If I set it to FTP, it works. This is using Fetch for Mac.

Hostname: ftp.mydomain.com
Username: myusername
Password: mypassword

I tried using ports 21 and 22 to see if it made a difference, but it didn't.

Are there specific settings that I should use for SFTP?

Thank you.
On some servers, you need to do myusername@primarydomain where myusername is the user's cPanel username and primarydomain is the main domain on their cPanel account.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-14-2009, 02:03 AM
Registered User
 
Join Date: Jun 2002
Posts: 44
hbouma
Quote:
Originally Posted by cPanelDavidG View Post
Correct, in cPanel 11 all cPanel users have SFTP access. However, additional FTP accounts (virtual FTP accounts) do not have SFTP access.

If the hosting provider is not yet using cPanel 11, please have them upgrade.
Well if that's the case, how about fixing your page so that it doesn't show any SFTP information for virtual FTP account login details. That way people who create FTP users don't get the impression that they can log in their virtual users over the SFTP port when its obviously not the case.

Hal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-14-2009, 10:44 AM
cPanelDavidG's Avatar
cPanel Sales Support
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,985
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by hbouma View Post
Well if that's the case, how about fixing your page so that it doesn't show any SFTP information for virtual FTP account login details. That way people who create FTP users don't get the impression that they can log in their virtual users over the SFTP port when its obviously not the case.

Hal
We are currently working on fixing that page so SFTP information is not displayed when viewing virtual FTP account details. (Internal Case 26282)
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 09-07-2009, 07:23 AM
Registered User
 
Join Date: Jan 2006
Posts: 84
nitaish is on a distinguished road
I tried to connect to a website using SFTP and was able to do so. However, I can go several levels up the server and can access other directories too except the other websites' directories in the /home directory. This is actually risky as a person can also delete data from the other directories and cause instability to the system. Is there a work around for this?
__________________
Start your own Web Service Company in multiple countries in just 20 minutes
http://www.connectreseller.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-07-2009, 07:39 AM
Registered User
 
Join Date: May 2008
Posts: 905
thewebhosting is on a distinguished road
Using SFTP you can only see the listing of the directories which is inside the /home directory. No one can modify the other directories except the owner of that directory.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 09-08-2009, 04:48 PM
cPanelDavidG's Avatar
cPanel Sales Support
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 7,985
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by nitaish View Post
I tried to connect to a website using SFTP and was able to do so. However, I can go several levels up the server and can access other directories too except the other websites' directories in the /home directory. This is actually risky as a person can also delete data from the other directories and cause instability to the system. Is there a work around for this?
With the way *nix file system permissions work, being able to see a file exists is not the same as being able to view, modify or delete a file.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 09-08-2009, 05:09 PM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,476
Spiral is on a distinguished road
Exclamation

While there are some obvious merits (and some cons) to moving to SFTP transfers, I should take a moment and point out that doing so in response to the recent IFRAME / Index Hacking problems with so many sites left victim will do ABSOLUTELY NOTHING to help you or protect your server!

If your motivation in switching over to SFTP is something other than these
recent attacks around the world, then all the power to you.

If not, and that is your driving motivation, then you may want to re-consider your actions because you are doing nothing to help yourself or your clients.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 10-01-2009, 12:30 AM
Registered User
 
Join Date: Aug 2003
Location: La Crosse, WI
Posts: 634
sneader is on a distinguished road
Quote:
Originally Posted by Spiral View Post
While there are some obvious merits (and some cons) to moving to SFTP transfers, I should take a moment and point out that doing so in response to the recent IFRAME / Index Hacking problems with so many sites left victim will do ABSOLUTELY NOTHING to help you or protect your server!

If your motivation in switching over to SFTP is something other than these
recent attacks around the world, then all the power to you.

If not, and that is your driving motivation, then you may want to re-consider your actions because you are doing nothing to help yourself or your clients.
It might be helpful to explain why?

- Scott
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Jail Shell the default shell !! advisor cPanel and WHM Discussions 3 08-14-2009 05:36 PM
Can I allow SFTP without Shell? BraveX cPanel and WHM Discussions 3 02-23-2009 01:32 PM
Sorry, the shell, Enable Normal Shell does not exist! 4u123 cPanel and WHM Discussions 4 06-15-2007 08:05 AM
sftp not working with shell access disabled gator cPanel and WHM Discussions 6 08-31-2005 10:12 PM
jailed shell access - how does it differ from normal shell? spaceman cPanel and WHM Discussions 1 08-04-2004 12:08 PM


All times are GMT -5. The time now is 03:06 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc