Windows 10: windows 10 cmdline ssh messed up remotely logged in linux directory

Discus and support windows 10 cmdline ssh messed up remotely logged in linux directory in Windows 10 Network and Sharing to solve the problem; I launched windows 10's cmd line. C:\Users\vanil>ssh usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c... Discussion in 'Windows 10 Network and Sharing' started by YQC1, Jun 21, 2019.

  1. YQC1 Win User

    windows 10 cmdline ssh messed up remotely logged in linux directory


    I launched windows 10's cmd line.


    C:\Users\vanil>ssh

    usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]

    [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]

    [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]

    [-i identity_file] [-J [user@]host[windows 10 cmdline ssh messed up remotely logged in linux directory :port]] [-L address]

    [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]

    [-Q query_option] [-R address] [-S ctl_path] [-W hostwindows 10 cmdline ssh messed up remotely logged in linux directory :port]

    [-w local_tun[:remote_tun]] destination [command]


    logged into a Ubuntu workstation remotely. The directory of the cmd line is totally messed up:


    Get cloud support with Ubuntu Advantage Cloud Guest:

    http://www.ubuntu.com/business/services/cloud



    * Canonical Livepatch is available for installation.

    - Reduce system reboots and improve kernel security. Activate at:

    https://ubuntu.com/livepatch


    251 packages can be updated.
    0 updates are security updates.
    Last login: Thu Jun 20 18:22:03 2019 from 24.5.30.160

    ls

    aconda3-4.4.0-Linux-x86_64.sh anaconda3 cuda-repo-ubuntu1804_10.0.130-1_amd64.deb pytorch

    cd pytorch

    cpytorch: command not found

    cd pytorch

    ];alla_att@tesla: ~/pytorchvanilla_att@tesla:~/pytorch$


    Can anybody provide an idea about it?

    :)
     

  2. ssh and Windows 10 Not Working

    There are two desktop computers in my home:

    One running Debian Linux and one running Windows 10.

    They both access the Web through a wireless router (Verizon).

    The issue is that I cannot access the Windows box via ssh (OpenSSH or PuTTY).

    I am able to access the Linux box from the Windows box - via ssh (via both OpenSSH and PuTTY).



    For the sake of simplicity and in order to eliminate Linux from the equation, I tried:

    ssh localhost

    ssh 192.168.1.2

    ssh HOME



    ssh matt@localhost

    ssh matt@192.168.1.2

    ssh matt@ HOME

    (where localhost, 192.168.1.2, and HOME are all the Windows box).

    None of those 3 worked - either in PuTTY or in OpenSSH.

    I either get:

    Connection to localhost closed by remote host.

    Connection to localhost closed.



    Or I get:

    ssh: connect to host 192.168.1.2 port 22: Connection timed out

    -

    I wanted to make sure that I could access this PC from another in one way or another
    - so I went ahead and created a homegroup which this computer and another household Windows 10 (laptop) are part of. That other Windows 10 PC
    is able to access this PC (and, for what it's worth, this PC can access the laptop).

    Note that a firewall runs on the Windows box. But I get the same results whether it's up or down.

    Anyone know what's going on?

    TIA, Matt
     
    ManThisIsReallyBizarre, Jun 21, 2019
    #2
  3. SarahKong Win User
    Remote desktop client: SSH tunnel

    Hi Thanatica... Do you mean use Powershell over SSH? I use this myself all the time to connect to my remote servers.

    See link.

    To set it up you will need to enable windows remote management on both ends.

    Make sure in services.msc the windows remote management service is running. Also in windows firewall make sure port 5986 is enabled.

    https://docs.microsoft.com/en-us/powershell/scr...

    If the machines you are trying to connect to are on a different domain\subnet you will need to add them to your trusted host list.

    See link.

    https://docs.microsoft.com/en-us/previous-versi...(v=msdn.10)
     
    SarahKong, Jun 21, 2019
    #3
  4. bro67 Win User

    windows 10 cmdline ssh messed up remotely logged in linux directory

    Can Windows 10 Generate SSH Key-Pairs for SSH Access to Itself?


    If the Linux machine is running OpenSSH, it will generate the key for you to log into it from Putty or FTP. If you log into the Windows Machine with FTP, you would need a SSH keygen running on the Windows machine. Both machines cannot generate a separate SSH key for the same session. When the keys get out of sync on the remote system, for what is stored on the computer you are logging into it with. You have to physically go in to the remote machine at its actual keyboard and monitor to reset the Key, so that the Keygen can create the same one.

    It works just like when you use a codeword between two people to validate that they are friend or foe. If say the keyword was "Chocolate Ice Cream". But you state "I went to the store to pick up some Vanilla Ice Cream." The reply would be "Not correct". SSH is a way to make sure that the computer trusts those who are logging in via a remote access.
     
    bro67, Jun 21, 2019
    #4
Thema:

windows 10 cmdline ssh messed up remotely logged in linux directory

Loading...
  1. windows 10 cmdline ssh messed up remotely logged in linux directory - Similar Threads - cmdline ssh messed

  2. Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server

    in Windows 10 Gaming
    Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server: Hello, I am attempting to set up SSH key-based authentication to log into a Linux server from my Windows 10 machine. While I am able to login using a password, my goal is to enable public key login to avoid using a password each time.Linux SideThe public key has been added to...
  3. Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server

    in Windows 10 Software and Apps
    Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server: Hello, I am attempting to set up SSH key-based authentication to log into a Linux server from my Windows 10 machine. While I am able to login using a password, my goal is to enable public key login to avoid using a password each time.Linux SideThe public key has been added to...
  4. Installed Linux Mint and messed up my partitioning.

    in Windows 10 Gaming
    Installed Linux Mint and messed up my partitioning.: I regretfully did not doenough looking into reparations of my hard drives before I decided to try and jumping into installing Linux Mint onto my PC recently. After playing with it for a day or two, I decided Windows was an easier OS for me to start taking more seriously and...
  5. Installed Linux Mint and messed up my partitioning.

    in Windows 10 Software and Apps
    Installed Linux Mint and messed up my partitioning.: I regretfully did not doenough looking into reparations of my hard drives before I decided to try and jumping into installing Linux Mint onto my PC recently. After playing with it for a day or two, I decided Windows was an easier OS for me to start taking more seriously and...
  6. Installed Linux Mint and messed up my partitioning.

    in Windows 10 Installation and Upgrade
    Installed Linux Mint and messed up my partitioning.: I regretfully did not doenough looking into reparations of my hard drives before I decided to try and jumping into installing Linux Mint onto my PC recently. After playing with it for a day or two, I decided Windows was an easier OS for me to start taking more seriously and...
  7. Cannot SSH to windows from linux - No route to host

    in Windows 10 Ask Insider
    Cannot SSH to windows from linux - No route to host: I'm trying to ssh from a linux to a windows system. I'm able to connect windows-to-linux but not linux-to-windows. On linux-to-windows ssh attempt, I get an error that says No route to host. When I ping the IP address of the windows system from linux it says Destination...
  8. Can't ssh into Windows10 from Linux!!

    in Windows 10 Ask Insider
    Can't ssh into Windows10 from Linux!!: Hello guys, hope you all doing well. I trying to ssh from Linux Mint to Windows10 but it is asking for password but the problem is that I don't have any password set for my windows. So where can i find password for my windows ssh. I'm using windows 10 builtin ssh-service....
  9. Directory path names messed up

    in Windows 10 Network and Sharing
    Directory path names messed up: When I try to compress a file I get an error that the directory path contains symbols that can't be processed, meaning the Greek words I do have a Greek keyboard installed but my system language is English. The actual name is in English though. E.g. On the left in the...
  10. Remote desktop client: SSH tunnel

    in Windows 10 Customization
    Remote desktop client: SSH tunnel: Feature request to add SSH tunnel as an alternative to RD Gateway. I thought it's pretty common, and RD Gateway is fantastically rare (and a living nightmare to set up, especially for those who don't own a Windows server). What does it take to get this feature added?...