Ssh After Entering The Password Of Ssh It Shows Me The Errors.
Tere was a folder in /home/virtfs and I delete this folder and now when I try tologin to ssh after entering the password of ssh it shows me the below errors.
-bash: id: command not found
-bash: [: =: unary operator expected
-bash: id: command not found
-bash: dircolors: command not found
-bash: tr: command not found
-bash: id: command not found
-bash: [: =: unary operator expected
-bash: whoami: command not found
grep: /var/cpanel/users/: Permission denied
-bash: mesg: command not found
-bash: dircolors: command not found
sshadmin@XXX [~]# su -
Password:
and in service status in whm the memory used is 100% but the sites are working.
and root@XXX [/]# top
-bash: top: command not found
root@XXX [/]#
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
How To Change An Email Password From SSH
I was using Direct Admin Panel, now expired! How can we change an email password from - 'root' user? I know we can change main domain email password by 'passwd user'. But how to change other emails with that domain? They are surely located in /etc/vitual/domain/password , but in hashed format. How to change via command line?
View Replies!
View Related
Tutorial To Use SSH Keys Instead Of Password
A Short tutorial to use SSH keys instead of plain password to login. 1. Logon to WHM and goto Main >> Security >> Security Center 2. Under "SSH Password Auth Tweak" and disable the Password Authentication. 3. Under "Manage SSH Keys" click on Generate new key. 4. Give a Key name and Generate a good password (remember it). Choose KeyType as DSA since it's more secure than RSA. 5. Once done, you will see a pair of public private keys. Authorize the public key to connect. 6. View/Download the private key to your system. If you're using putty it can also generate in relevant format. 7. Save the key in a secure place in your local system and chmod to 600 so that no one can read it. 8. Next, connect to your server: Code: root@localhost ~]# ssh -i /path-to-file/file.key root@server.ip.address It should ask for the password, if you have used in step 4.
View Replies!
View Related
Reseting FTP Password Via SSH
how to change an FTP Password through SSH for a particular account i.e i got a subdirectoryt and FTP account set up for /forum but i cant remember what the password was.. but im logged in to root via SSH can anyone tell me how to reset this please? im using Freebsd
View Replies!
View Related
How To Change Email Password From Ssh
I am just a newbie with linux and ssh.I know that we can control the server with ssh. SSH is faster and more secure than Web control.I need your help about with ssh:How to change the email password?How to add email address?How to disable/remove email address?How to forward email?Pleaser help me with one or more question above.My Server installed with Centos 4.4 with Cpanel 10.Thank you so much in advance.Longpt
View Replies!
View Related
Password Modification Trought SSH
trying to modify the password of certain accounts of my hosting server. I have CPanel and I tried from cpanel and whm, so now I want to try from SSH to change the password of certain usernames. How can I change the password of an account trought SSH?
View Replies!
View Related
Disabling SSH Root Access But Enabling SSH Keys How To Do That
in order to secure my server against instrusion, i disabled ssh root login and created a user for myself. however in order to access the user i need to enable SSH Password authentication I dont enable password authentication all the time and i keep it disabled unless i need to do something via ssh. Now my question will be, is there a way to keep the user i created and keep the root login disabled and password authentication disabled but use ssh keys for the user i created? I was informed that if i opt to login to ssh via the user i created, the only way to do that is to enable password authentication as it cannot work with ssh keys. is this true? I really hope someone can help me how to use the user i created together with ssh keys so i dont have to enable password authentication when loggin to ssh
View Replies!
View Related
APC :: Shows "timeout" And "out Of Memory" Errors With Php Scripts
We have installed APC 3.1.3p1 beta (and also 3.0.19 stable seperately, to test) and we are seeing a lot of "out of memory" and "timeout" errors. For example, a php scripts dies saying the available memory is 256Kbytes, and the script tries to allocate 256 Mbytes of memory. Here are the APC settings: [APC] apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 128 apc.max_file_size = 8M apc.stat = 1 and PHP settings related to memory is memory_limit = 1024M We have tried included apc.php file to watch out the cache, but it doesn't show any kind of fragmantation or etc. related with system, instead it shows "timeout" and "out of memory" errors with php scripts. We have thought that the error can be related to /dev/shm as you should increase apc.shm_size in order to obtain more memory, therefore we have mounted /dev/shm as 4Gbytes. The server has 8Gbytes of memory (using 64-bit CentOS). Note that once we set apc.enabled = 0, the problems go away, so it's definitely something with APC.
View Replies!
View Related
What Is SSH
When purchasing my web hosting service, the service provider asked if I need SSH or not. Since it's much more expensive to choose a service with SSH than not, I chose the one without. Can you help me understand what SSH is and whether I should buy it or not?
View Replies!
View Related
SSh
How do I do an sqldump via ssh. I either get an error or it goes down to the next line and does not do any thing. Also why does it ask for the password when I type in the mysqldump command? Also how do you copy and paste from putty?
View Replies!
View Related
SSH
Mcghost wont fix my stats. Can someone tell me how to ShovelSH** into my Virtual Piece of Sh**? ( SSH into my VPS ) I need to regenerate stats and restart cpanel. Site has banner ads and I need to know me stats!
View Replies!
View Related
SSH
What are the configuration files of ssh ................How we can stop the ssh access......and how can we change the default port..............
View Replies!
View Related
SSH
my costumer try to connect using SSH following error occur Code: Warning! The server you have specified is unavailable now or is not an SSH server! (error_timeout) How can i solve this?
View Replies!
View Related
SSH
Yesterday, my host (Layered Technologies) preformed an OS reinstall on my server. Everything was fine, I could connect via SSH and began to install Apache, MySQL, etc. I then disconnected from SSH. When trying to connect later, I couldn't; SSH hasn't worked for me since. I've tried it from multiple computers, running XP and OS X, and even from multiple locations. I can, however, connect to the server via HTTP, and can ping it. The datacenter staff say they have no problem connecting via SSH; and cannot help since they are unable to reproduce the issue.
View Replies!
View Related
Ssh
If i log into WHM and then goto CPU/Memory/MySQL Usage , I see Top Process%CPU 0.3sshd: root [priv] What is sshd: root [priv] i have only seen it appear over the past few days?
View Replies!
View Related
SSH
able to do this in ssh? 1.) Find this file... awstats.surfitup.us.conf 2.) Open as a text file and look for... AllowToUpdateStatsFromBrowser=0 3.) Change to... AllowToUpdateStatsFromBrowser=1 4.) Upload your config file 5.) Now refresh AW in your browser and at the top in the content frame you should see an update link. You can update as often as you want whenever you want. Most nifty! I dont know SSH
View Replies!
View Related
SSH Keys
I am trying to create an ssh key pair to allow rsync without passwrods between two debian boxes. I have Main server which I want to push data to Backup server I have followed the tutorial at [url]but this does not work when I ssh or rsync eaither from main server to backup server or ther other way it still requires password.
View Replies!
View Related
What's My SSH Port
i now have root access at a site i manage and the previous admin has set up a different SSH port. I think this because i get " Connection Refused " and that user has access for SSH. When restarting my SSH services i recive; Quote: sshd has failed, please contact the sysadmin. And from looking that error up it means the port has been changed. So i have WHMC access and all other root passwords etc, but how can i find out the port?
View Replies!
View Related
SSH Attack
My server stop responding, I couldn't access via webmin or ssh, and DNS were not responding, so I have to ask for a reboot and now everything is fine. Looking at the logs I found this: Code: Jul 18 19:23:12 server sshd[18484]: Failed password for root from 61.145.196.117 port 56817 ssh2 Jul 18 19:23:12 server sshd[18485]: Failed password for root from 61.145.196.117 port 60227 ssh2 Jul 18 19:23:13 server sshd[18488]: Failed password for root from 61.145.196.117 port 38038 ssh2 Jul 18 19:23:15 server sshd[18493]: Failed password for root from 61.145.196.117 port 49884 ssh2 Jul 18 19:24:30 server sshd[18497]: Failed password for root from 61.145.196.117 port 37929 ssh2 Jul 18 19:25:06 server sshd[18521]: Did not receive identification string from 61.145.196.117 Jul 18 19:25:09 server sshd[18508]: Did not receive identification string from 61.145.196.117 Jul 18 19:25:14 server sshd[18505]: fatal: Timeout before authentication for UNKNOWN Jul 18 19:26:00 server sshd[18509]: Did not receive identification string from 61.145.196.117 And searching that IP on google I found it here: http://www.tcc.edu.tw/netbase/net/in...?fun=240&prd=3 And is flagged as a SSH Attack. Any ideas why my server stopped working? and how to prevent it? Im using CentOS 5.0
View Replies!
View Related
Mails Ssh
I sent mass mail from vBulletin forum and I want to see status of those mails via ssh. I mean, I need to see how many mails is sent well, how many of them are still sending e.t.c
View Replies!
View Related
RSync-over-SSH
i have two srevers one is Dedicated Server and the secound is for backup . well , i login to the backup server and creat ftp account . i wanna make the server save the weekly backup . the backup path is /backup the copmany of the backup server said " To RSync your data to your backup server, type: "rsync -av --progress -e ssh @" this will put all the files in your home directory..." i dont know how to use this command on the Dedicated Server .
View Replies!
View Related
Access To The SSH
how can i get access to the SSH By checking if the computer name is identical to the name saved in my server SSH by entering the name of the user after the login and password and the correct Port
View Replies!
View Related
Rebuild SSH
We lost ssh access in one of our vps and we unable to give ssh access with putty. How can rebuild ssh with yum? because we have console access to server.
View Replies!
View Related
Ssh Port
I have cpanel running on a centos box and I want to change the ssh port from (22) the default port to something new i get 13000 login add temps a day. How do i do this i have root access
View Replies!
View Related
SSH Alert
I dont know if this has been asked before. Anyway what I want to accomplish is I want an email be sent to my email address everytime someone connects to my SSH. I want an email sent regardless it was a successful or failed login. Is there a step by step tutorial for this.
View Replies!
View Related
Mysqldump In Ssh
If a friend of your's asked you what they should type in SSH to make a backup of a MySQL database so they would have it to restore if anything were to happen to their server (drive failure, DB corruption, etc etc).. what would you tell them to type in? The reason I ask this is because doing my own research on the net on how to backup a mysql database in SSH has shown me there are 10 million ways of doing it, with all kinds of modifiers and so forth. Not having a good grasp on what these modifiers do, I am not sure what to use? For instance, here is what I have been using: mysqldump --opt -udb_username -p db_name > /home/username/thebackupfile.sql
View Replies!
View Related
How To Use Ssh As Proxy
I recently got into a question that how can I use my server to connect to the internet as a proxy server. I want it to use just for my personal use so don't want to make it a proxy server. I found out that it's possible to do so with putty and firefox( like this: [url] but although I tried several times, I was not successful. Anybody has any way to let me connect to my server to surf the web?
View Replies!
View Related
SSH Timeout
Is there a way to increase the timeout for a SSH connection when idle? Mine (on my server) seems to time out after 15-20 mins of inactivity. I'd like to increase this to like 60 mins or indefinitely.
View Replies!
View Related
When Log In Ssh
It keeps telling me the message below, even i used external ip (209.52.x.x instead of 10.10.0.130) Quote: mail:~ root# ssh -l admin 10.10.0.130 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that the RSA host key has just been changed. The fingerprint for the RSA key sent by the remote host is ee:a8:ed:f5:fa:d9:0a:7d:ae:14:dd:e4:a9:d3:d7:c5. Please contact your system administrator. Add correct host key in /private/var/root/.ssh/known_hosts to get rid of this message. Offending key in /private/var/root/.ssh/known_hosts:14 RSA host key for 10.10.0.130 has changed and you have requested strict checking. Host key verification failed. should i remove the line (10.10.0.130 ....) in /private/var/root/.ssh/known_hosts? It let me log in ssh after i removed that line, but i am not sure if that is the issue for server.
View Replies!
View Related
Passwd For SSH
i been wonder today when i try to login my account @box by SSH 21 the password is changed i think! and when i see the logs files there is no stranger ip! and there is no email about changeing password for my mail! i tried to log in by another account in my server and trying to su root permission by my password but passwd incorect! and i change the Mysql root passwd and same thing my support they sleep before 3 days so i should to figure my problem alone... how to reset my root ssh passwd? am useing Plesk VPS ...
View Replies!
View Related
Ssh Keys !
i have my own centos server . i want to let some of my friends to login to my box using ssh keys , so i set an authorized_keys file to have their pubic_keys. Now , my question is how can i limit the commands they can execute? i mean let them just only "rsync" their files from their boxes to mine , without any ability to execute any other commands or even loging to my box!
View Replies!
View Related
Ssh Command
Whats the command to search inside files on a server.... i know locate <name> locates files. but how do i actually search inside all files... i know it can take a while/resources....
View Replies!
View Related
|