Comments (7)
humm... it's difficult to achieve because SSH is controlled by Kitty. The only thing 1Remote does is open a kitty process, 1Remote cannot determine whether the SSH inside this process requires a second password input.
It is possible to achieve this by integrating a modified version of Kitty into 1Remote. However, I personally do not have enough time to undertake this task.
from 1remote.
humm... it's difficult to achieve because SSH is controlled by Kitty. The only thing 1Remote does is open a kitty process, 1Remote cannot determine whether the SSH inside this process requires a second password input.
It is possible to achieve this by integrating a modified version of Kitty into 1Remote. However, I personally do not have enough time to undertake this task.
Thanks for your work anyway. This app is very helpful.
In fact what I mean is:
-
Add a "manually enter password" option in the profile. If you check this option, you will be required to enter the password manually every time you open a session.
-
(based on the first step): At the same time, use the SSH password to connect to SFTP without checking. If the time interval is short enough (everything is done before TOTP refreshed), you can log in to both SSH and SFTP (almost) at once. This avoids modifying Kitty, though it looks not clever. "If SFTP was needed, after successful SSH login the password would be passed to SFTP as well." is unrealistic , just forget it...
from 1remote.
Add a "manually enter password" option in the profile. If you check this option, you will be required to enter the password manually every time you open a session.
What is the problem with leaving the password empty? You will get asked each time.
If SFTP was needed, after successful SSH login the password would be passed to SFTP as well.
Can you explain this a little bit?
from 1remote.
Add a "manually enter password" option in the profile. If you check this option, you will be required to enter the password manually every time you open a session.
What is the problem with leaving the password empty? You will get asked each time.
If SFTP was needed, after successful SSH login the password would be passed to SFTP as well.
Can you explain this a little bit?
The first question, yes, you are right. I do get asked every time after the "permission denied" s from the KiTTY process if I leave the password empty (actually this is the way I use 1Remote currently). However, as @VShawn mentioned above,
1Remote cannot determine whether the SSH inside this process requires a second password input
If I use SSH only, there is no problem. Whether 1Remote knows the password I input is not important.
But if I want to use SFTP at the same time (with the same TOTP password), 1Remote will open an SFTP session with a red "permission denied" (this is expected since my password is empty) on the bottom and there is no second chance for password input.
Since 1Remote cannot determine whether the SSH login was successful, I think it could be better to add a "manually enter password" option in the profile. The difference is that, with this option checked, user inputs password in a dialog box of 1Remote before SSH session is started instead of in the KiTTY process. Then 1Remote will get the password and send it to SFTP directly, without validation. We can expect two cases:
- If the password is wrong, SSH login fails and a second password input will be required as it does in current version. SFTP login is still raising error.
- If the password is correct, SSH login succeeds and SFTP login will be successful at the same time (If the password is not expired).
from 1remote.
But if I want to use SFTP at the same time
I understand your point, I am just not sure how do you "use SFTP at the same time" ? SSH and SFTP are separate connection types in 1Remote. Do you actually just use SFTP connection and expect that behavior from it ?
from 1remote.
Besides,
1Remote cannot determine whether the SSH inside this process requires a second password input.
But in any case, this might be feasible as kitty has integrated scripting, so I am 99% sure no kitty modification is required.
from 1remote.
In this case, we do not need to add the "manually enter password".
what needs to be improved is the default behavior of SFTP. When starting SFTP, if the password is empty, it should prompt the user to enter the password instead of directly logging in with an empty password.
from 1remote.
Related Issues (20)
- 希望可以增加导出rdp文件功能
- remoteapp 的托盘图标 HOT 3
- RDP not works with Ubuntu 24.04: Authentication error There are more data available HOT 3
- 增加通过SSH访问Linux系统时直接访问sftp HOT 1
- special characters incorrectly passed to exe(KiTTY, WinSCP) HOT 3
- Failure to launch HOT 3
- May I have a proxy choice to connect the remote servers? HOT 3
- [feature requst] Add option to disable "Ask for user / password" pop up HOT 6
- 今天使用Xterminal发现一个不错的功能 HOT 1
- How can I use configuration stored in `%USERPROFILE%\ssh\config` file for SSH connections? HOT 1
- [BUG] About repeated software opening problems HOT 2
- 功能请求:增加网络断开后不自动重连的选项
- 在不同dpi的双显示器下鼠标尺寸不正确 HOT 2
- 远程连接后窗口边缘能自动匹配画面的尺寸吗?如图。 HOT 1
- Feature Request - Disable automatic connections to 10+ remote IP's HOT 2
- 功能请求:remoteapp添加mstsc模式,以实现更多的自定义参数 HOT 4
- 点击全屏最大化,崩溃报错: `配额不足,无法处理此命令。` HOT 1
- 有考虑增加navicat连接支持吗 HOT 1
- Various connection issues
- 修改密码遇到一个问题 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 1remote.