Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th December 2011, 19:47
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default ssh user - can't see site files?

Hello, i have created a ssh (as client) and can log in fine with password, but when i do i cannot see any files or dir?

ls -la returns

Code:
total 16
drwxr-xr-x 3 connect1 client2 4096 Dec 15 18:40 .
drwxr-xr-x 4 root         root    4096 Dec 15 18:38 ..
-rw------- 1 connect1 client2   17 Dec 15 18:40 .bash_history
drwxr-xr-x 2 root         root    4096 Dec 15 18:38 .ssh
How can get it so ssh user can see files?

tried both jail and non jail setting.

cheers

Last edited by carpman; 15th December 2011 at 19:51.
Reply With Quote
Sponsored Links
  #2  
Old 19th December 2011, 14:39
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You are currently in the home directory of the shell user. run cd ../../ to go to the web root or cd ../../web to go to the web directory.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th December 2011, 15:36
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
You are currently in the home directory of the shell user. run cd ../../ to go to the web root or cd ../../web to go to the web directory.
Worked that one out, any way of setting it so logs into / to root to start with?

Going to be a bit of pain having to keep doing cd ../ ../ ?

cheers
Reply With Quote
  #4  
Old 19th December 2011, 15:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
 
Default

A ssh user is always in its home directory after login. E.g. if you login as root user, you are in /. E.g. if you create a ssh user named tom manually outside of ispconfig, then you are in /home/tom and when you create a ssh user in ispconfig, then its the same. You are in /home/username inside of the web dierctory tree.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
carpman (19th December 2011)
Reply

Bookmarks

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Centos5.4/ISPConfig 3--Virtual site not working MichaelCaditz Installation/Configuration 25 25th March 2011 11:37
FTP user can not edit files gdekeijzer Installation/Configuration 1 1st December 2010 17:38
mail authentication failure - unknown user or password evok Installation/Configuration 9 16th October 2010 06:37
ispconfig 2 ftp / ssh issues? dw5304 General 6 7th April 2010 16:00


All times are GMT +2. The time now is 23:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.