How do I install SSH in Ubuntu?
5,915
I noticed this in what you posted:
However the following packages replace it:
openssh-client ssh-askpass-gnome
The command to use open-ssh that is already installed (you proved it with what you provided) is simply
ssh (host IP or host URL)
Related videos on Youtube
Comments
-
max over 1 year
I am using Ubuntu 12.04 and am trying to install SSH using the below command:
[root@avi ~]# sudo apt-get install ssh
However I am getting this error:
Reading package lists... Done Building dependency tree Reading state information... Done Package ssh is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: openssh-client ssh-askpass-gnome E: Package ssh has no installation candidate
I also tried this command:
[root@avi ~]# sudo apt-get install openssh-server
How can I install it successfully?
-
Izzy almost 12 yearsIn short: Some other package depends on
ssh
("is referred to by another package"), but no source provides it ("ssh has no installation candidate"). Please do anapt-cache depend ssh
to figure out which package causes the problem. Additionally, please state whether you use some 3rd party repositories (e.g. ppas) which might have introduced the troublemaker, and if so, which one(s).
-
-
Prerak Diwan almost 12 yearsEverett. Please don't edit the OP's question to add to your answer. Question edits or for formatting, clarification, and general cleanup. Not to help you answer. If you need to quote the OP do as I have to your answer. Happy Answering :)
-
Everett almost 12 yearsHonestly, thank you for pointing that out, I will make more judicious use of it.