Windows 10: ssh key

Discus and support ssh key in Windows 10 Ask Insider to solve the problem; I have a windows pc and i want to ssh into it from my phone with a key so I generated a key in my pc. I used “scp \id_rsa.pub user@ip” command but... Discussion in 'Windows 10 Ask Insider' started by /u/ZER0-00, Jul 23, 2020.

  1. ssh key


    I have a windows pc and i want to ssh into it from my phone with a key so I generated a key in my pc.

    I used “scp \id_rsa.pub user@ip” command but every time i try to connect to my pc using my private key it ask for a password. Anyone can help me?

    submitted by /u/ZER0-00
    [link] [comments]

    :)
     
    /u/ZER0-00, Jul 23, 2020
    #1
  2. NF1
    NF1 Win User

    SSH

    Hello everyone..

    Am looking some help with my Open SSH Private and Public Key..Windows 10 Professorial.

    I Enable the ssh run's the Common ssh-keygen and it ask for a password and I did put an Password but now that I need the Public Key to use as the Password and I have no Idea how to find it....Can anybody Help? Please and thank you very much...I Try doing
    some research on line but non of the instruction seems to work..
     
  3. SSH help

    You should see:



    ~ $ ssh user@localhost

    The authenticity of host 'localhost (127.0.0.1)' can't be established.

    RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.

    Are you sure you want to continue connecting (yes/no)?

    If you're seeing



    ~ $ ssh user@localhost

    -sh ssh: not found



    means you've not got the openssh client installed on yoru phone.. this doesn't mean the openssh server isn't installed, but it rules out testing that way!..
     
    cpitchford, Jul 30, 2020
    #3
  4. hansal Win User

    ssh key

    SSH private key auth on Windows 10 Bash

    i have some Linux installed on by Laptop and use SSH with private key authentication to connect to a server. Recently, I installed Win10 with the bash developer extension on by desktop. Since I only have one user account on this server, and hence only on key, i simply moved by private key file into the respective directory of my windows bash.

    However, whenever I open a new bash instance and try to connect to the server, the error message: 'Permission denied (publickey).' is returned.
    My current fix are the following steps: exec ssh-agent bash; ssh-add;

    While I could obviously add this into .profile, I would be required to enter the passphrase whenever I open bash.

    Does anyone has some suggestions how to fix this more properly, s.t. I only have to enter my passphrase whenever I connect to the server and that I do not have to reinitialize my ssh key in every bash session.

    kind regards
     
    hansal, Jul 30, 2020
    #4
Thema:

ssh key

Loading...
  1. ssh key - Similar Threads - ssh key

  2. Windows 11 ssh/webui problems across all ssh clients and browsers

    in Windows 10 Gaming
    Windows 11 ssh/webui problems across all ssh clients and browsers: Fresh Install of Windows 11 performed 2 weeks ago on a new SSD replacing a Windows 10 installation.Win 11 is current on updates.The Windows 10 Installation this is replacing had none of the below issues.All computers involved are in the same LAN but on different segments with...
  3. 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...
  4. 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...
  5. Trouble Setting Up SSH Key-Based Authentication from Windows to Linux Server

    in Windows 10 Network and Sharing
    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...
  6. Sharing SSH Keys Across Multiple PCs

    in Windows 10 Network and Sharing
    Sharing SSH Keys Across Multiple PCs: I set up a preshared key facility for SSH access to a VPS I own. It was pretty straightforward once I'd found this article.But in trying to extend the preshared keys to another computer my Surface 6 laptop I ran into something that confuses me. I'm hoping someone can explain...
  7. Windows not accepting key for SSH key-based authentication?

    in Windows 10 Ask Insider
    Windows not accepting key for SSH key-based authentication?: I'm trying to use key-based authentication to SSH into my Windows machine (running Windows 10 Pro, Insider build 21337.1000) from a MacBook Air running macOS 10.15.7 Catalina. Password-based auth works fine but whenever I try key-based auth it just...doesn't work. It falls...
  8. Cannot access a server on Windows 10 using ssh key

    in Windows 10 Network and Sharing
    Cannot access a server on Windows 10 using ssh key: I successfully connected to the server on Linux but I could not connect to the same server with the same ssh keys that I copied to my Windows 10 computer. I have already did a lot of research on forums regarding this problem but could not find the answer. Here is the debug...
  9. SSH asking for password even i have private key

    in AntiVirus, Firewalls and System Security
    SSH asking for password even i have private key: Hi, I am trying to establish connection to server windows machine using RSA key pairs. I have generated key pairs and and also copied my public key to users/myuser/.ssh/authorized_keys and also set the permissions by executing below command. ssh --% user1@*** Email...
  10. Can Windows 10 Generate SSH Key-Pairs for SSH Access to Itself?

    in Windows 10 Network and Sharing
    Can Windows 10 Generate SSH Key-Pairs for SSH Access to Itself?: All, I'm quite adept at key generation and public/private key authentication on Linux, but am basically a fish out of water on windows. I have Win10 with Ubuntu bash installed and I've had no problem with the ssh-keygen from within bash and setting up outbound passwordless...