Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by duncanb7
at 2024-04-04 08:09:36
Point:500 Replies:7 POST_ID:828581USER_ID:11059
Topic:
PHP Scripting Language;Apache Web Server;Linux
I just switch to my share server to VPS server on one hosting company.
Now I got root password and access right.
When I connect to root 's SSH access through Putty , it is okay and logged into the root's directory.
When I connect to my user account trhough Putty , it failed and echo out message as
such as
"Shell access is not enabled on your account!
If you need shell access please contact support"
What I should change on SSH in order to enable my shell access ?
now my root login is on VP server
login:root
servername:vps
my old user account in shared-server
login:duncan
servername:duncan.com
How to enable my SSH access from shared-server to VPS server
Now I don't use any Cpanel anymore since now it needs to pay fee on VPS
Please advise
Duncan
Now I got root password and access right.
When I connect to root 's SSH access through Putty , it is okay and logged into the root's directory.
When I connect to my user account trhough Putty , it failed and echo out message as
such as
"Shell access is not enabled on your account!
If you need shell access please contact support"
What I should change on SSH in order to enable my shell access ?
now my root login is on VP server
login:root
servername:vps
my old user account in shared-server
login:duncan
servername:duncan.com
How to enable my SSH access from shared-server to VPS server
Now I don't use any Cpanel anymore since now it needs to pay fee on VPS
Please advise
Duncan
Expert: _jesper_ replied at 2024-04-04 11:35:48
The command chsh does just that: change shell.
Author: duncanb7 replied at 2024-04-04 10:07:11
Just change the /etc/passwd file
for username duncan
duncan:x:500:500::/home/duncan:/bin/bash from
duncan:x:500:500::/home/duncan:/usr/local/cpanel/bin/noshell
the issue is fixed
for username duncan
duncan:x:500:500::/home/duncan:/bin/bash from
duncan:x:500:500::/home/duncan:/usr/local/cpanel/bin/noshell
the issue is fixed
Expert: comfortjeanius replied at 2024-04-04 09:53:29
You will need to contact your web hosting provider about this first or try to authenticate to the share account, that you have access to, and see if you can enable shh. Look for something that pertain to web hosting or hosting and try to find settings; there should be something that allows you to enable ssh.
Author: duncanb7 replied at 2024-04-04 09:29:44
No , I just have one account of shared-server in one hosting company and now
I swithced to VPS account in the same hosting company. Since the VPS account is unmanaged and no Cpanel provide, I need to do some Linux system command to change some system setting
I swithced to VPS account in the same hosting company. Since the VPS account is unmanaged and no Cpanel provide, I need to do some Linux system command to change some system setting
Expert: comfortjeanius replied at 2024-04-04 09:14:17
Are you the hosting provider; because you would have to obtain this information from them about the VPS setup email and server information.
Author: duncanb7 replied at 2024-04-04 08:21:31
I could not go to my account except
root@vps[~]#
when I type at root directory su - duncan it also echo out the warning message
"Shell access is not enabled on your account!
If you need shell access please contact support"
root@vps[~]#
when I type at root directory su - duncan it also echo out the warning message
"Shell access is not enabled on your account!
If you need shell access please contact support"
Accepted Solution
Expert: comfortjeanius replied at 2024-04-04 08:15:11
500 points EXCELLENT