Giter VIP home page Giter VIP logo

Comments (15)

DamsPer avatar DamsPer commented on August 29, 2024 1

Thank You for the time for me !

If I found solution, I post here.

from sshs.

quantumsheep avatar quantumsheep commented on August 29, 2024

Hey! Which version of ssh are you using and on which operating system? ssh -V

from sshs.

DamsPer avatar DamsPer commented on August 29, 2024

Hello,

MacOs 14
SSh : OpenSSH_9.6p1, LibreSSL 3.3.6

from sshs.

quantumsheep avatar quantumsheep commented on August 29, 2024

You may have strange characters in the host name, maybe try to rewrite the name manually in your config file?

from sshs.

DamsPer avatar DamsPer commented on August 29, 2024

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.

DamsPer avatar DamsPer commented on August 29, 2024

I try to rewrite manually but no change

from sshs.

quantumsheep avatar quantumsheep commented on August 29, 2024

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.

DamsPer avatar DamsPer commented on August 29, 2024

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.

quantumsheep avatar quantumsheep commented on August 29, 2024

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.

DamsPer avatar DamsPer commented on August 29, 2024

Not strange charaters...

from sshs.

quantumsheep avatar quantumsheep commented on August 29, 2024

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.

DamsPer avatar DamsPer commented on August 29, 2024

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.

quantumsheep avatar quantumsheep commented on August 29, 2024

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.

DamsPer avatar DamsPer commented on August 29, 2024

My config file is the same of you're and I've thos error :

ssh "My Server"                                                                                                                                                                                                    
hostname contains invalid characters

from sshs.

quantumsheep avatar quantumsheep commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.