Comments (22)
I'm having the same issue, my ~/.ssh/config
looks like this:
Host *
ForwardAgent yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
However I can't clone my private repos when I use et
(permission denied). But if I ssh
I can clone without issues, looks like ssh agent is not forwarding. Do you guys have an idea of what am I missing?
Client
macOS 10.13.6
❯ et --version
et version 5.1.8
Server
jessie
❯ et --version
et version 4.2.1
from eternalterminal.
I think you need to do:
-s "-A myuser@myhost:myport"
You are missing the hostname/port part
from eternalterminal.
@MisterTea, I think this is the same problem of not using the ssh config mechanism. Is there no way you can bypass having to parse the ssh argument logic and let ssh do its thing for the initial connection? I have ssh agent setup with hosts and all and I don't really need to provide any parameters. Much like the username (for which luckily I have pasted a solution in the other issue)
from eternalterminal.
@eskhool SSH should be using ssh_config, but etclient/etserver won't use it. So, whatever agent forwarding you have in ssh should work fine for the initial handshake. After that, you are using the et passkey so you shouldn't need agent forwarding.
from eternalterminal.
Hey @eskhool is this still an issue?
from eternalterminal.
I'm still experiencing this, also with your suggestion of -s "-A myuser@myhost:myport"
.
Can we reopen?
from eternalterminal.
@burgalon Are you using the latest master code or the release?
from eternalterminal.
release 4.0.5 etclient. Help is showing -c
should be available.
from eternalterminal.
what happens when you use my suggestion above?
from eternalterminal.
when using your suggestion above, nothing appears different - same output as without the -c
from eternalterminal.
I meant my suggestion for using -s to do ssh agent forwarding
from eternalterminal.
looking closer, it seems like -s
is not working at all, as if it's not taking the arguments at all. doing -s '-p 8888'
doesn't seem to kick in, and ssh is still connecting on the regular port. This is weird since I remember it was working (possibly on etclient 4.0.4?)
from eternalterminal.
Maybe your et install has been corrupted somehow? Can you do a 'which et' and make sure it's using /usr/local/bin/et ? Also try to remove the package and reinstall and then check the timestamp to make sure the et launcher is up to date.
from eternalterminal.
I seemed to have installed versnion 3.0.6. I did brew uninstall --force et
to remove all version and then again brew install MisterTea/et/et
but -s
still doesn't seem to work.
It seems like there's still something dirty in my configuration/installation, but I'm not sure how to check.
from eternalterminal.
What does et --version
say?
from eternalterminal.
➜ ~ et --version
etclient version 4.0.5
from eternalterminal.
@burgalon -s is being removed in the next release. Instead, put any ssh options in your ssh_config file. When et calls ssh, the options are loaded by ssh already.
from eternalterminal.
from what it seems, the ssh config is also not taken. My .ssh/config
has ForwardAgent yes
which works well with regular ssh, but doesn't with et
from eternalterminal.
@burgalon if you look at the et file, it's just a bash script that calls ssh. Can you debug on your side and see why it's not using your ssh config?
from eternalterminal.
For reference - mobile-shell/mosh#696
from eternalterminal.
Adding agent forwarding here: #226
from eternalterminal.
Should this be working in 6.0.4?
I have 6.0.4 on my local macbook, and my linux server. I'm running et -f server
to connect.
On the remote server, I can see:
$ echo $SSH_AUTH_SOCK
/tmp/et_forward_sock_nS3kix/sock
However, once there:
$ ssh localhost
isaacs@localhost: Permission denied (publickey).
Using just SSH alone, this works fine:
$ ssh izs.me
Krypton ▶ Requesting SSH authentication from phone
Krypton ▶ Success. Request Allowed ✔
...
Last login: Sat Nov 30 07:18:55 2019 from 73.189.145.159
izs:~ [email protected]
$ ssh localhost
Krypton ▶ Requesting SSH authentication from phone
Krypton ▶ Phone approval required. Respond using the Krypton app
Krypton ▶ Success. Request Allowed ✔
Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-66-generic x86_64)
...
UPDATE: this works when using plain old fashioned text ssh keys, not when using krypton's IdentityAgent and ProxyCommand. I'll post a new issue about it.
from eternalterminal.
Related Issues (20)
- Dependency/Readme clean up HOT 1
- Reverse tunnel listen interface HOT 9
- 100% CPU Usage 😢 HOT 8
- Using a different ssh port HOT 1
- Building et on AL2 HOT 11
- "Error handling new client: Failed a call to readAll" HOT 4
- Starting multiple sessions for the same host in parallel leads to crash HOT 3
- Why does 6.2.8 install header and cmake files? HOT 6
- `--ssh-option=ControlPath=...` does not create any filesystem objects
- `et -t` does not accept IP address HOT 3
- APT-KEY is deprecated, update instructions for install HOT 3
- Segfault starting etserver on raspberry pi zero HOT 3
- package for pkgx HOT 1
- GCP IAP proxy HOT 3
- Ubuntu mantic et package (et_6.2.8-mantic1_amd64.deb) broken (bad dep on libtinfo5) HOT 9
- Need a good way to kill off ET sessions HOT 5
- A way to prevent sourcing the shell's configs twice HOT 1
- et needs ssh's -t option to support running tmux with et HOT 2
- Overrided CTRL+C -> CTRL+B not working
- DynamicForward -D option doesn't work 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 eternalterminal.