If you are trying to do an SSH on your Linux/Unix System and you get ssh command not found on bash shell, then most likely you do not have ssh installed on your device, you can get it installed using package tool such as apt-get
Fix:# apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
...
ssh installed newest version (1:8.2p1-4ubuntu0.4).
Now if you run ssh you will not get any error!
# ssh
usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
[-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
[-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
[-i identity_file] [-J [user@]host[:port]] [-L address]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-Q query_option] [-R address] [-S ctl_path] [-W host:port]
[-w local_tun[:remote_tun]] destination [command]
More Posts related to Bash,
- How to use Autocomplete and Autosuggestion in Shell Commands
- Bash How to Save Output of a Command to a Variable
- How to know the current shell you are logged in?
- How to Echo Bash Command to a File
- Bash Command to Get Absolute Path for a File
- How to Split a String based on Delimiter in Bash Scripting
- Bash: Command Line Arguments to Bash Script Examples
- Bash Command to Download a File From URL
- How to check if a Command Exists using Bash Script
- Ways to Increment a counter variable in Bash Script
- Know Bash shell version command
- Bash command to Read, Output and Manipulate JSON File
- Bash Command to Base64 Decode a String
- Bash Command to Check Python Version
- Bash: Command to Find the Length of a String
- What is $$ in Bash Shell Script- Special Variable
- Bash - How to check if a Command Failed?
- List all Username and User ID using Bash Command
- Command to Sort File In Reverse Order [Unix/Linux/macOS]
- bash: netstat: command not found
- Bash Command To Go Back To Previous Directory
- [Fix] bash: script.sh: /bin/bash^M: bad interpreter: No such file or directory
- How to check your IP using bash for Windows?
- Bash Command To Check If File Exists
- Convert String from uppercase to lowercase in Bash
More Posts:
- [Solved] Notepad++ Menu Bar Missing - NotepadPlusPlus
- Detect Data roaming in Android Application - Android
- How to Compare two Files in Bash Shell - Bash
- Python Hello World! Program with code example (snippet) - Python
- How to know if someone has read your WhatsApp message - WhatsApp
- How to change font, apply bold or italic styles, font size in Windows Notepad - HowTos
- Gmail Error Bad Request Your client has issued a malformed or illegal request - Google
- How to Install Python Modules in VS Code - Python