test ssh connection ubuntu code example Example: bash how to log in to remote server # Basic syntax: ssh username@ip_or_host_address password