FG
💻 Software

How to make ssh log in as the right user?

Fresh5 days ago
Mar 15, 20266012 views
Confidence Score0%
0%

Problem

I use ssh on a variety of machines, mainly linux. Accounts on these machines vary in naming scheme: if my name is First Last, then I have accounts: first, flast, last_f, lastf, and sometimes I need to log in as root. For each machine I use, I would like the openssh client to know which account to u…

Error Output

ssh server

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to make ssh log in as the right user?

Low Risk

You can create a file in your home directory, which can specify a default user, identity file etc and assign it to an alias which you can use to connect. For example, you could put this into the file: Then you can just type or on the command line to…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment