FG
💻 Software

I run zsh from bash after connecting SSH – how can I exit both with only one command?

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

Problem

I run zsh on my server and I want to alias the command, because whenever I try to terminate my SSH session I must exit from and exit from . I tried to no avail. I don't want to change how I start but I think it's not a very good solution. I've appended to . How can avoid to type twice to terminate …

Error Output

exit

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: I run zsh from bash after connecting SSH – how can I exit both with only one command?

Low Risk

is the default login shell of your account on that system. To change it, do what @KevinPanko suggests. Then won't start, only . Given that, through , you're always starting at the moment (and not just sometimes), that would probably the best way to …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment