Shell script to ssh to a remote host without specifying the port
#!/bin/bash<br></br>
PORT="non standard port number"<br></br>
if [ -z "$1" ]; then<br></br>
echo "Usage: $0 hostname"<br></br>
else<br></br>
ssh -p $PORT $1<br></br>
fi```
#!/bin/bash<br></br>
PORT="non standard port number"<br></br>
if [ -z "$1" ]; then<br></br>
echo "Usage: $0 hostname"<br></br>
else<br></br>
ssh -p $PORT $1<br></br>
fi```