Solved OpenSSH installed, but cannot use SCP
-
With root, what does this return:
which scp
-
Wait, you checked on OpenSSH... client or server? What OpenSSH packages do you actually have there. List them all...
rpm -qa | grep ssh
-
@scottalanmiller said:
With root, what does this return:
which scp
/usr/bin/which: no scp in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
(how do you use code blocks?)
openssh-5.3p1-112.el6_7.x86_64
openssh-server-5.3p1-112.el6_7.x86_64
libssh2-1.4.2-1.el6_6.1.x86_64 -
Code blocks is just for spaces at the beginning of a line.
-
Okay, OpenSSH is missing files.
yum reinstall openssh
-
No joy. I'm still getting the same output when I run just scp or which scp.
-
What is the history on this remote server? What was installed, what modified since it was put in?
-
@scottalanmiller said:
Code blocks is just for spaces at the beginning of a line.
That is a shortcut for single line.
A full block is three backticks on a line by itself, then the code, then three backticks on a line by itself to close it.
-
@JaredBusch said:
@scottalanmiller said:
Code blocks is just for spaces at the beginning of a line.
That is a shortcut for single line.
A full block is three backticks on a line by itself, then the code, then three backticks on a line by itself to close it.
That's way handier than what I have been doing. I need to start doing that.
-
@Kelly said:
No joy. I'm still getting the same output when I run just scp or which scp.
On both servers or just one?
-
@scottalanmiller said:
What is the history on this remote server? What was installed, what modified since it was put in?
Brand new, clean install. The only thing I've done on it is run updates.
-
@johnhooks said:
@Kelly said:
No joy. I'm still getting the same output when I run just scp or which scp.
On both servers or just one?
I'm trying to copy from my MBP to the server, and I'm just getting that on the remote server.
-
@JaredBusch said:
@scottalanmiller said:
Code blocks is just for spaces at the beginning of a line.
That is a shortcut for single line.
A full block is three backticks on a line by itself, then the code, then three backticks on a line by itself to close it.
code block
-
Other code block
-
@Kelly said:
@JaredBusch said:
@scottalanmiller said:
Code blocks is just for spaces at the beginning of a line.
That is a shortcut for single line.
A full block is three backticks on a line by itself, then the code, then three backticks on a line by itself to close it.
code block
Yeah if you do not put them on separate lines, it acts like a normal single backtick for a bit of inline code.
-
@Kelly said:
@scottalanmiller said:
What is the history on this remote server? What was installed, what modified since it was put in?
Brand new, clean install. The only thing I've done on it is run updates.
Wow, so weird.
-
https://www.centos.org/forums/viewtopic.php?t=5153 This person had the same issue
Is there an openssh-clients package to install? I don't have a 6.7 server running to test on.
-
@johnhooks said:
https://www.centos.org/forums/viewtopic.php?t=5153 This person had the same issue
Is there an openssh-clients package to install? I don't have a 6.7 server running to test on.
There is one, yes.
-
Oh yes, that appears to be missing.
-
I ran across that forum post as well, but both the OpenSSH-client and OpenSSH-server packages are installed.