Open vybfi opened 2 months ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: Unable to connect to the server when using exec fish to log in to automatically load the interactive shell (fish)
DESCRIPTION BUG
When using exec fish to log in to automatically load the interactive shell (fish), you cannot connect to the server through the APP. After repeated testing, it has nothing to do with the APP settings, only the server settings. You can log in and use it normally using other ssh software.
Steps to reproduce How to reproduce:
Expected results
Should connect normally
Actual results
Display error, unable to connect to server
screenshot
equipment
System: ios17.5.1 App version: 1.0.1070
More information
不懂为什么
推荐 chsh -s /usr/bin/fish,虽然 exec fish 是直接切换进程到 fish,但仍然会先初始化 bash
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Don't know why
It is recommended to chsh -s /usr/bin/fish. Although exec fish directly switches the process to fish, bash will still be initialized first.
应该是你自己的问题,我在我的服务器上测试是没有问题的,可以正常启动fish,但我不是root用户,也许是root的ssh登录有白名单?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should be your own problem. I tested it on my server and there was no problem. I can start fish normally, but I am not a root user. Maybe there is a whitelist for root's ssh login?
不懂为什么
推荐 chsh -s /usr/bin/fish,虽然 exec fish 是直接切换进程到 fish,但仍然会先初始化 bash
不使用chsh -s /usr/bin/fish的原因是fish shell并不完全兼容bash,如果不先初始化bash,有些依赖于此的程序会出问题。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Don't understand why
It is recommended to chsh -s /usr/bin/fish. Although exec fish directly switches the process to fish, bash will still be initialized first.
The reason for not using chsh -s /usr/bin/fish is that the fish shell is not fully compatible with bash. If bash is not initialized first, some programs that rely on it will have problems.
应该是你自己的问题,我在我的服务器上测试是没有问题的,可以正常启动fish,但我不是root用户,也许是root的ssh登录有白名单?
请问能说明一下你的测试环境和测试的流程吗,我试试看能不能复现。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should be your own problem. I tested it on my server and there was no problem. I can start fish normally, but I am not a root user. Maybe there is a whitelist for root's SSH login?
Could you please explain your testing environment and testing process? I'll try to see if I can reproduce it.
应该是你自己的问题,我在我的服务器上测试是没有问题的,可以正常启动fish,但我不是root用户,也许是root的ssh登录有白名单?
请问能说明一下你的测试环境和测试的流程吗,我试试看能不能复现。
我就Ubuntu x86,在~/.bashrc中添加exec fish,可以正常进入fish
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should be your own problem. I tested it on my server and there was no problem. I can start fish normally, but I am not a root user. Maybe there is a whitelist for root's SSH login?
Could you please explain your testing environment and testing process? I’ll try to see if I can reproduce it.
I use Ubuntu x86, add exec fish in ~/.bashrc, and I can enter fish normally.
描述BUG
在使用exec fish登陆自动加载交互式shell(fish)时,无法通过APP连接到服务器。经过反复测试,与APP设置无关,仅和服务器设置有关。使用其他ssh软件可以正常登录并使用。
复现步骤 如何复现:
期望结果
应当正常连接
实际结果
显示查看错误,无法连接到服务器
截图
设备
系统: ios17.5.1 App版本:1.0.1070
更多信息