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 create new user account in Windows bash
- Command to Sort File In Reverse Order [Unix/Linux/macOS]
- 'pwd' is not recognized as an internal or external command, operable program or batch file. [Windows]
- How to Kill a port using bash terminal command?
- How to know the current shell you are logged in?
- Bash For Loop Example
- How to see Created Accessed Modified and Changed dates of a file using bash terminal command
- How to fix bash ping command not found error
- Know Bash shell version command
- Bash Hello World! Script Tutorial
- How to check your IP using bash for Windows?
- [Fix] bash: script.sh: /bin/bash^M: bad interpreter: No such file or directory
- Fix bash: script.sh: Permission denied Error
- Bash command to wait for seconds
- How to use Autocomplete and Autosuggestion in Shell Commands
- bash get year 2021 calendar
- bash: netstat: command not found
- How to Compare Strings in Bash
- How to start or open a new bourne-again shell (bash) session on Windows using Command Line CMD