Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
jb-vpn.uk Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Cursor SSH:Setup
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== '''Select Platform''' (if prompted): == * Choose: <code>Linux</code> β <code>arm64</code> or <code>armv7l</code> (depending on your Pi model) === 5. Troubleshooting Connection Issues === ==== Issue: Connection Timeout ==== '''Check IONOS Firewall:''' * Verify port <code>22223</code> is allowed in IONOS Cloud Panel * Check rule priority (lower numbers = higher priority) '''Test SSH connection manually:''' <pre class="lang-bash"> ssh -v -p 22223 root@87.106.61.62 </pre> '''Check port forward on VPS:''' <pre class="lang-bash"> == On VPS == sudo ssh-forward list iptables -t nat -L PREROUTING -n | grep 22223 </pre> ==== Issue: "Permission Denied" ==== '''Verify SSH key is authorized:''' <pre class="lang-bash"> ===== On Raspberry Pi ===== cat ~/.ssh/authorized_keys == Should contain your public key == </pre> '''Check SSH server logs:''' <pre class="lang-bash"> == On Raspberry Pi == sudo tail -f /var/log/auth.log == Attempt connection and watch for errors == </pre> '''Verify user permissions:''' <pre class="lang-bash"> == On Raspberry Pi == ls -la ~/.ssh/ == Should be: drwx------ (700) for .ssh directory == == Should be: -rw------- (600) for authorized_keys == </pre> ==== Issue: Cursor Server Installation Fails ==== '''Clear Cursor server cache:''' <pre class="lang-bash"> ===== On Raspberry Pi ===== rm -rf ~/.cursor-server </pre> '''Check disk space:''' <pre class="lang-bash"> == On Raspberry Pi == df -h </pre> '''Check Python/Node.js availability:''' <pre class="lang-bash"> == On Raspberry Pi == python3 --version node --version # If available </pre> ==== Issue: Slow Connection ==== '''Optimize SSH config:''' Add to <code>~/.ssh/config</code>: <pre> Host raspberrypi Compression yes IPQoS throughput </pre> '''Use SSH multiplexing:''' <pre> Host raspberrypi ControlMaster auto ControlPath ~/.ssh/control-%h-%p-%r ControlPersist 10m </pre> === 6. Verify Complete Setup === '''Test checklist:''' * [ ] SSH port forward is active: <code>sudo ssh-forward list</code> * [ ] IONOS firewall allows port 22223 * [ ] Can SSH manually: <code>ssh -p 22223 root@87.106.61.62</code> * [ ] SSH key authentication works (no password prompt) * [ ] Cursor can connect via Remote SSH * [ ] Cursor server installed on Raspberry Pi * [ ] Can open files and use terminal in Cursor === 7. Multiple Devices Configuration === If you have multiple devices, add separate entries in <code>~/.ssh/config</code>: <pre> Host synology HostName 87.106.61.62 Port 22222 User admin IdentityFile ~/.ssh/id_rsa Host raspberrypi HostName 87.106.61.62 Port 22223 User root IdentityFile ~/.ssh/id_rsa Host device-03 HostName 87.106.61.62 Port 22223 User user IdentityFile ~/.ssh/id_rsa </pre>
Summary:
Please note that all contributions to jb-vpn.uk Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Jb-vpn.uk Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Cursor SSH:Setup
(section)
Add topic