SSH (Secure SHell) is a protocol for running commands on a remote computer.

learn more… | top users | synonyms

-1
votes
1answer
55 views

How to check ssh secret and public key validability in local command line [duplicate]

I have a secret key id_rsa and a public key authorized_keys that should be pair. But I have a problem to ssh by using these keys. I want to check the validability of these key pair by a command in ...
-1
votes
2answers
72 views

Connect to a remote linux server that is in default setup, not configured to be connected?

In our Company we have an internal-wikipedia-like help site. The Problem is, the MindTouch-Wiki is out of date, so i have to update it! The Problem is, its running virtual. Its Ubuntu 7.7 In ...
-1
votes
1answer
188 views

I cannot use yum command and ssh after mount drive.(CentOS)

As the title above, I cannot use yum command after I mount like below. mount /dev/xvdb3 /usr Filesystem Size Used Avail Use% Mounted on /dev/xvda ...
-1
votes
1answer
827 views

SSH key based login bypasses password policies

I noticed that logins via an SSH key bypass the LDAP password policies (password ageing, password warning, and password lockout due to failed attempts, etc). Is there any way to force key-based ssh ...
-2
votes
3answers
74 views

what is the difference between “ssh user@ip” and “ssh ip user”?

I am facing problem with one of the above. Only ssh user@ip works not the other way round. And I am getting the following error when I run ssh ip user sh: root: not found Because of this I GUESS ...
-2
votes
1answer
60 views

SSH into a Remote Machine with a Password

I'm to trying to dd a remote disk using SSH with the following command: ssh userfoo@111.111.111 "dd if=/dev/xvda1 | gzip -1 -" | dd of=/home/user/image.gz I get the following error: ssh: ...
-2
votes
1answer
147 views

SSH error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

I ran rsync (cygwin) and got this error. I think they changed the Red Hat Linux OS from version 5 to version 6, last night. Would that be the cause of this error message? What do I need to do to fix ...
-2
votes
2answers
5k views

How to copy only the files of a folder(including subfolder's files), but not the folder itself in shell

In Openssh, On the client, the content of path/to/file must be copied to Server. All files in /path/to/file on the client must be copied to /path/to/files on the server. Note: only copy files, no ...
-2
votes
2answers
1k views

Push local git repo to server via ssh

So I have a local repo and a server with git installed and a git user. I want to send (push) the repo to the server. When I simply login to the server via ssh I have to specify my .pem file and a ...
-2
votes
1answer
42 views

ssh not working for all logins

I was doing a cleanup and by mistake i deleted some dir from /var which resulted in a situation that no other session /ssh is possible . When I am trying from ILOM via vsp -- says Error Service Module ...
-2
votes
0answers
59 views

code is not working , not able to create new directory using ssh

Please find the below code. I am facing issue in passing the variable which is the name of the directory to ssh to create the new directory on the remote host. out put I am getting: ssh: /: Name or ...
-2
votes
1answer
475 views

automatic capturing top output by cronjob CENTOS 6.5 x86_64

I have this command: top -n 14400 -a -b -d 1 > /toplogfile.txt I want to make a script which is run by cron every day to capture top output, and if it is possible gzip the output file after the ...
-3
votes
1answer
63 views

Help needed with ssh! [closed]

I am new to the linux OS and the other day, I was reading about ssh. What I wanted to do is Write a shell script to open terminal on 2 PCs simultaneously (the other PC being the guest OS (ubuntu) ...
-3
votes
1answer
317 views

Authentication failed [closed]

You have no controlling tty and no DISPLAY. Cannot read passphrase. warning: Authentication failed. Disconnected (local); authentication cancelled by user (Authentication cancelled by user.). ...
-3
votes
1answer
51 views

ssh tunel how to?

ok I have a following situation. machine1 , machine2 and laptop. I need ssh and scp protocol enabled such that I can access to machine1 and do some things there. also i cannot access to machine2 ...
-3
votes
1answer
181 views

connect remote host without password in linux [duplicate]

Am trying to connect remote host by using ssh: ssh xxxx@hostname. It will connect by asking password. But I need to connect host with out password.
-3
votes
2answers
96 views

SSH with no password

I have a Shell bash file that i run as sudo and it contains a file to send a ssh comand to bulk clients but it asks for the password every time and i do not what key based ssh the password is the same ...
-4
votes
1answer
668 views

Need to automate file transfer from linux server to windows shared folder

We need to transfer files from a Linux server to a Windows shared folder. we don't have any Samba server. Can you please explain a better way?
-4
votes
1answer
79 views

Help to run a script command from one server on another

I have a go daddy account and also a vps in germany. In my vps, I run a code script (we will call it codegen). When I run ./codegen, I am asked how many codes I want to make and with that answer on ...
-8
votes
2answers
81 views

open ssh server back [closed]

After I type # shutdown -h now from terminal, I can't access to the ssh remote server. (ssh root@10.101.6.240) How should I open back the ssh server?