Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







SSH Keys... Where Is .ssh


I am currently running Cent OS 5...where do I find the directory or file to add my public key to?


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
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
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
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 Keys
I'm having a problem with SSH keys (they don't work out of the box correct with cPanel) I bilieve the error is in my sshd_conf, but if someone could assist me with what settings that should be uncommented that would be helpful.

Anyways, just some history of what I did so far:

Generated a passphraseless key within Server(A1). Took the public key (not the private, left the privat on the server itself) and transferred it to a file authorized_keys on Server(B2).

Chmod that file to 600. Then ran the following command:

ssh -v -i /root/.ssh/authorized_keys -p 1234 root@xxx.i.p.xxx

First I still get asked for a passphrase (which is wierd since it's suppose to be passphraseless), then when I just press enter (to signify that there is no passphrase), I get the following error:

Permission denied (publickey,gssapi-with-mic).

View Replies!   View Related
Ssh Keys And Whm
I have a problem w whm/cpanel and my server.

Im starting to use private/pub keys for ssh access, so far i can access the server via ssh w the key (ive disabled pass access in sshd_conf) but when i want to copy accounts from this server (the one w ssh key) trough the whm interface to another who hasnt key it doesnt work... am i missing something?

View Replies!   View Related
SSH/Putty Keys
I have setup a private/public key for myself so I can login to SSH with a different password now I need to setup for someone else.

Now do I put there public key in the same file as my public key on the server, or do I make a new file on the server?

View Replies!   View Related
Manage SSH Keys-how To Use
How can use this feature in cpanel of my dedicated server Manage SSH Keys.

Any place where there is a small tutorial on this feature?

View Replies!   View Related
SSH Server Keys
removing my ssh key from the server. I want to be able to login with just a password. I have to change one of my servers and I cannot do it with the keys enabled.

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
Struggling To Setup SCP Between To VPS's With SSH Keys
I had previously had this working. However, I changed the second VPS and now I can't remember how I set it up.

I will call it SourceVPS and BackupVPS.

I am trying to setup SSH keys to allow me to SCP backups from the sourceVPS to the backupVPS.

The SCP command I am trying to run on the SourceVPS is:

Code:
scp -i /root/.ssh/VPS_root_access_key -pr /root/movetest.txt root@server.BackupVPS.com:/backup/
Previously, I had the SSH keys between the SourceVPS and BackupVPS so the above command would move a file from one to the other (instead of movetest.txt, that is normally the name of the backup file being moved).

Can someone walk me through the steps for setting up the SSH keys? I am on Cpanel/WHM and Centos 4.6

View Replies!   View Related
RSync W/ Windows- With SSH Keys & BQBackup
TLDR version:

when populating and attempting to write keys to authorized_keys I'm receiving the following error:

Quote:

Could not create directory '/home/Administrator/.ssh'

Long version:

I've been grinding my wheels with this for a long time now. Basically I'm attempting to get rsync set up to backup some data directories on my Windows 2k3 Server through a batch file with task scheduler to bqbackup. I've been back and forth with both Scott and Rsync.net's tech support about this issue - both of which have been great... but essentially keep hitting the same impasse with Scott appearing to have hung his hat stating he's not familiar enough with windows and rysnc.net telling me to wait for their GUI client that should be launching "soon." In the meantime I'm just running the backup manually until I can get this key issue figured out.

Here's what's going on:
I've been mainly using BQ's Guide and Rsync's Guide to try and accomplish this.

After executing ssh-keygen -t rsa -N ''

I receive the following message:

Quote:

Generating public/private rsa key pair.

Enter file in which to save the key (/home/Administrator/.ssh/id_rsa):

If I accept the default value it gives me I receive this error:

Quote:

Could not create directory '/home/Administrator/.ssh'.

Open /home/Administrator/.ssh/id_rsa failed: Not a directory.

Saving the key failed: /home/Administrator/.ssh/id_rsa.

Now my thoughts were this was occurring because my %homepath% is actually:

Quote:

c:documents and settingsadministrator.DOMAIN

(DOMAIN replacing actual text)

I'm able to change the default path location and create the RSA file elsewhere using the cygdrive format... so when prompted for the path to save I instead input:

Quote:

/cydrive/c/docume~1/administrator.DOMAIN/

and am able to create the RSA file... so mission accomplished... so far, I believe I'm past this, the snafu is now occurring on writing these keys to the authorized_keys file on BQBackup...

Quote:

C:Program FilescwRsyncin>rsync -av "/cydrive/c/documents and
settings/administrator.DOMAIN/.ssh/id_rsa.pub"
<login>@<host>:.ssh/authorized_keys
Could not create directory '/home/Administrator/.ssh'.
The authenticity of host '<host> (<ip>)' can't be established.
RSA key fingerprint is 18:02:d9:95:06:a9:70:74:86:b7:76:41:f6:71:a0:a4.

(<login>@<host> replacing actual login & host... it's definitely connecting)

That pesky '/home/Administrator/.ssh' pops up again. I'm not sure if that's what's causing the issue or not. I'm not even sure why the %homepath% for my administrator account on the server is set to administrator.DOMAIN, but AFAIK I can't log in to a local account on a Win2k3S box, correct?

Now, you'll notice that the command I issued to upload the keys I got from the RSync.net instructions. BQ's instructions for step 3 are pretty foreign to me.

I've gone further than this and attempted other things such as SSH'ing into my BQ server using putty and attempting to write the keys that way with no luck. I can't fully remember the errors I encountered doing so, though.

View Replies!   View Related
SSH Keys & Direct Root Login Disabled
Currently I have a server that has direct root SSH access disabled (have to login as regular user then su to root), but I am currently working on setting up authentication via SSH keys, but I can't seem to get it working with direct root SSH access disabled? Is this normal, and if so is there anyway to work around it?

Basically I'd like to be able to authenticate both ways; both with SSH keys or by logging in as a regular user and su to root.

View Replies!   View Related
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 Replies!   View Related
How To Change Ssh Server Name On Ssh Software
when i ssh my server and it always shows ip of the server on the left,

it is as my attaching file shows,

i want to ask how can i change it to my server name?

View Replies!   View Related
SSH Name
when I login to SSH via Putty I see "bash-3.1#", how to change it to "root@something#"

I use CentOS5.

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
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
SSH Client
I just got my first dedicated server, and Im wondering what SSH Client people are using?

View Replies!   View Related
Locking Ssh Down
How do I lock SSH down to just my IP range and with a key?

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
Browsing Using Ssh
I upload my database to my public_html folder:

Quote:

/domains/mydomain.com/public_html/

But i can't browse it using ssh so i can't import it

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
Which SSH Client Do You Use
Opened this to help ppl, and to let them know which one is popular and why.

I know some clients and putty is one of them.

Would like to know you guys opinion which one is safe to use. and why.

View Replies!   View Related
Ssh For Users
im on a vps and enabled ssh to other accounts but how do i know whats the loginid n password for it?

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
Can't Access To Ssh
i have installed apf firewall yesterday and every things is ok but to day when i want to access to server by ssh i get this error

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
What Is The Best SSH Client
I thought Putty was the best but after I tried SSH Explorer I discovered there are better SSH apps

So what is the best SSH client?

View Replies!   View Related
SSH: What Does The 'last' Command Do
I tried to look up tutorials for basic commands, but none listed "last"

View Replies!   View Related
Restore DB From SSH?
I uploaded a .gz file that contains an sql file and was curious to know how I can restore it into a database via SSH.

View Replies!   View Related
Apache Via SSH
rebuilding easy apache using SSH?

I'm still stuck with Ioncube problems, got [url]and you'll see what problem im having.

View Replies!   View Related
Ssh Failed
my server take ssh failed.have way for fixed without contact with data center? ( with whm)

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
NI Usage (in Ssh)
Seems to have accidently cut out of my screenshot, but the 4th column reads "NI", can anybody tell me what this is?

There are a few negative values, is this bad?

View Replies!   View Related
What Can I Do With The SSH Account?
I see some webhost offer SSH account in the hosting package.

Can someone tell me what can I do with the SSH account?

What are the typical scenarios where SSH is used?

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 Commends
I wonder is there a commend in ssh where it will show you which script/page/thing is using the most memory?

View Replies!   View Related
Ssh Command To Do This
I want to delete all files named .ftpquota from the server, what's the ssh command to accomplish this?

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
Create VE Using Ssh
create virtual environments using ssh

(virtuozzo).

(my host does not give VZCC license)

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved