Unknown cipher type error on trying execute remote command over ssh
11,283
No need to use -c
to execute command with ssh
, that option is used to choose a cipher (that's where your message is coming from ...) Just remove it. The -c command
structure is for local sh
.
Try:
ssh [email protected] "mkdir -p ~/.tmp"
Author by
Erik
Updated on June 04, 2022Comments
-
Erik almost 2 years
I'm trying to execute the following command to my remote server:
$ ssh [email protected] -c "mkdir -p ~/.tmp"
But I get the following error:
Unknown cipher type 'mkdir -p ~/.tmp'
What the error above mean?