Skip to content

WSL Ubuntu ssh-keygen error with things like ^[[F #8

Description

@roachsinai

I like this great guake-like console, but if I open it I get input errors when I use Microsoft/WSL. When I press Enter key, I sometimes got extra ^[[F output.

I thought it was a wsl problem first, finally I found maybe there is some conflicts between Qonsole and WSL or other reason I don't know.

roach@hwin:~$ ssh-keygen -t rsa -b 4096 -C "myself@email.com"
^[[FGenerating public/private rsa key pair.
Enter file in which to save the key (/home/roach/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
.pub. same passphrase again:
The key fingerprint is:n saved in aved in
SHA256:some_code_like_Y38NnKD+LByV48bRmGri89dK1q+_this_things myself@email.com
The key's randomart image is:
+---[RSA 4096]----+
|                 |
|                 |
|       o         |
|       .         |
|       o.     +  |
|        B      o |
|    .  . =@.* =  |
| E +           . |
| .=o.. +   .  ..o|
+----[SHA256]-----+
roach@hwin:~$ ls
^[[F''$'\033''[F'  ''$'\033''[F.pub'
roach@hwin:~$ eval $(ssh-agent -s)
^[[FAgent pid 1249
roach@hwin:~$ ssh-add ~/.ssh/id_rsa
^[[FEnter passphrase for /home/roach/.ssh/id_rsa:
Bad passphrase, try again for /home/roach/.ssh/id_rsa:
^[[FIdentity added: /home/roach/.ssh/id_rsa (/home/roach/.ssh/id_rsa)
roach@hwin:~$

There are many ^[[F, more details at WSL/3572.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions