Comments (15)
Thank You for the time for me !
If I found solution, I post here.
from sshs.
Hey! Which version of ssh are you using and on which operating system? ssh -V
from sshs.
Hello,
MacOs 14
SSh : OpenSSH_9.6p1, LibreSSL 3.3.6
from sshs.
You may have strange characters in the host name, maybe try to rewrite the name manually in your config file?
from sshs.
I think is not the problem.
sshs try connect to the "Host", not "hostName" in my config file.
A few time ago, I didn't have problem.
from sshs.
I try to rewrite manually but no change
from sshs.
sshs is supposed to work like that, connecting to the Host and not the Hostname so it can be handled by ssh. However we have the same OpenSSH version so I'm not really sure what wrong...
How are you calling sshs?
from sshs.
I call sshs by sshs -c ~/.ssh/config
In example here, the "Host" value is anything but the "hostName" is the fqdn of server.
from sshs.
I'm wondering, what is the real value of HostName
for you ? You may have some strange characters that ssh is incompatible with.
from sshs.
Not strange charaters...
from sshs.
Do you have the same issue with 1.1.1.1
? You can also try running ssh directly ssh "My Server"
.
This is a ssh-related issue, not sshs.
from sshs.
ssh 1.1.1.1
ok
ssh "My Server"
don't work because it's a friendly name, not fqdn or ip server.
I think Host
attribute is a friendly name and ssh connect to the hostName
.
from sshs.
What I meant is try with this config literally :
Host "My Server"
HostName 1.1.1.1
User test
Port 22
ssh "My Server"
SHOULD work.
from sshs.
My config file is the same of you're and I've thos error :
ssh "My Server"
hostname contains invalid characters
from sshs.
Seems like a known issue but I don't have the issue even though I'm on the same macOS and OpenSSH version as you.
I suggest discussing the issue in microsoft/vscode-remote-release#9370 as it's not a sshs issue.
from sshs.
Related Issues (20)
- [feature request] alpine HOT 3
- StrictHostKeyChecking HOT 5
- hostname contains invalid characters HOT 3
- Multiple `Include` in `.ssh/config` not working
- IdentityFile not read after 4.0.0 release HOT 1
- [ISSUE] - Multiple Host Configuration Inheritance not working as expected HOT 1
- Wrong SHA256 HOT 3
- Only the global IdentityFile is used HOT 5
- Add Page Up / Page Down to version 4
- [ISSUE] - Unread Host entries without sub-option HOT 1
- Multiple line breaks when closing sshs HOT 5
- Support debian HOT 5
- Add SFTP support HOT 3
- Adding search based on IP Address HOT 1
- Option `-a` to forward argument HOT 2
- OVPN problem HOT 6
- Make it userfriendly to install on Ubuntu via apt or paa HOT 2
- How to use alias HOT 3
- Connecting to Host "My Server" fails from non-default location config
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 sshs.