Why do I see error "bash: scp: command not found lost connection" while using scp command ?
Issue
- While using scp command to copy a local file to remote server, after input the password of user in remote server getting below error.
$ scp File.txt RemoteUserName@RemoteHostname:
RemoteUserName@RemoteHostname's password:
bash: scp: command not found
lost connection
Environment
- Red Hat Enterprise Linux(Minimal installation)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.