Comments (10)
Does it work if you leave out --address
? Can you ssh into 10.11.99.1?
from remarkable_mouse.
No, it does not work. When doing ssh into 10.11.99.1, I have the message Unable to negotiate with 10.11.99.1 port 22: no matching host key type found. Their offer: ssh-rsa
. This is because with openSSH 8.8 and later, ssh-rsa keys are disabled by default, as explained here. This is why I added the two lines
PubkeyAcceptedKeyTypes +ssh-rsa
HostKeyAlgorithms +ssh-rsa
into the SSH config file.
from remarkable_mouse.
That's a bit weird, as the exception from Paramiko is about timing out, whereas the issue in openssh-client is that that RSA isn't supported anymore.
from remarkable_mouse.
Yep, since ssh remarkable
works great (with remarkable defined in the SSH config file as shown above), I was expecting that remouse --address remarkable
would have worked as well...
from remarkable_mouse.
I forgot to mention I have a Remarkable 2.
from remarkable_mouse.
Have you remouse with 10.11.99.1, so that it doesn't use your ssh config?
from remarkable_mouse.
Here is the result of remouse --address 10.11.99.1
:
/home/marc/.local/lib/python3.10/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated
"class": algorithms.Blowfish,
Exception (client): key cannot be used for signing
Traceback (most recent call last):
File "/home/marc/.local/lib/python3.10/site-packages/paramiko/transport.py", line 2163, in run
handler(self.auth_handler, m)
File "/home/marc/.local/lib/python3.10/site-packages/paramiko/auth_handler.py", line 375, in _parse_service_accept
sig = self.private_key.sign_ssh_data(blob, algorithm)
File "/home/marc/.local/lib/python3.10/site-packages/paramiko/agent.py", line 434, in sign_ssh_data
raise SSHException("key cannot be used for signing")
paramiko.ssh_exception.SSHException: key cannot be used for signing
Traceback (most recent call last):
File "/usr/bin/remouse", line 8, in <module>
sys.exit(main())
File "/home/marc/.local/lib/python3.10/site-packages/remarkable_mouse/remarkable_mouse.py", line 138, in main
rm_inputs = open_rm_inputs(
File "/home/marc/.local/lib/python3.10/site-packages/remarkable_mouse/remarkable_mouse.py", line 73, in open_rm_inputs
client.connect(
File "/home/marc/.local/lib/python3.10/site-packages/paramiko/client.py", line 435, in connect
self._auth(
File "/home/marc/.local/lib/python3.10/site-packages/paramiko/client.py", line 766, in _auth
raise saved_exception
File "/home/marc/.local/lib/python3.10/site-packages/paramiko/client.py", line 702, in _auth
self._transport.auth_publickey(username, key)
File "/home/marc/.local/lib/python3.10/site-packages/paramiko/transport.py", line 1624, in auth_publickey
raise SSHException("No existing session")
paramiko.ssh_exception.SSHException: No existing session
from remarkable_mouse.
Can you try with the --password
option?
I think it doesn't like your default ssh key. You might also try generating an RSA ssh key and use the --key
option.
from remarkable_mouse.
Adding the --password
option yields the exact same error message as above.
I think these two lines generate an RSA ssh key, as you suggested:
ssh-keygen -m PEM -t rsa -f ~/.ssh/remarkable -N ''
ssh-copy-id -i ~/.ssh/remarkable.pub [email protected]
Though for having it working properly (i.e., without paramiko exception), I had to replace [email protected]
with remarkable
. But then remouse --address 10.11.99.1 --key ~/.ssh/remarkable
still returns the same error message.
from remarkable_mouse.
Is this still an issue? I'm not sure why 10.11.99.1
isn't working for you. What does host remarkable
return?
from remarkable_mouse.
Related Issues (20)
- Assign Lamy button to some other key
- Warranty concerns HOT 1
- Specifying --password seems to have no effect HOT 3
- problem connecting to rm2 HOT 11
- Tablet active area HOT 7
- Only RSA keys work
- Default should be ssh config HOT 1
- Crash after connection HOT 3
- remouse does not start on Macos HOT 2
- Broken on Windows since version 7 HOT 1
- --orientation doesn't work with --evdev enabled HOT 4
- remouse: argument of type 'NoneType' is not iterable HOT 1
- Windows 10 and beta 3.0: only straight lines HOT 5
- Paramiko exception, unless I specify --key
- No return for MacOS HOT 1
- What do you do to prevent doing random things on tablet? HOT 1
- Support for older hardware
- remouse won't connect on linux mint HOT 1
- OSError: [Errno 101] Network is unreachable HOT 1
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 remarkable_mouse.