Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8151091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T15:15:56+00:00 2026-06-06T15:15:56+00:00

how to accomplish a multihop ssh session in emacs as in the following example,

  • 0

how to accomplish a multihop ssh session in emacs as in the following example,

ssh -t username@login-server -t ssh username@my-institute-computer 

using the tramp mode? M-x f RET and then “/ssh: -t …” seems not to be correct

Thank you for your help!


Edit:
It seems that adding

Host my-institute-computer
ProxyCommand ssh login-server nc my-institute-computer 22

to ~/.ssh/config makes the input in emacs possible where I get asked twice for a password. However, now I receive “Permission denied (publickey,keyboard-interactive)”. Do you have an idea why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T15:15:57+00:00Added an answer on June 6, 2026 at 3:15 pm

    The best solution for me was using emacs with

    (add-to-list 'load-path "~/.emacs/tramp/lisp/")
      (require 'tramp)
    (add-to-list 'tramp-default-proxies-alist
             '("destiny.server" nil "/ssh:username@login.server:"))
    

    added in the .emacs file (as suggested in How can I use Emacs Tramp to double hop ssh?).

    First, I had the problem that my tramp-version was not supporting tramp-default-proxies-alist. After updating it (http://ftp.gnu.org/gnu/tramp/) everything worked fine. Now it’s enough to M-x f RET and then “/ssh:username@destiny.server:” to enter the remote server behind the login-server.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to accomplish the following in Android using API Level 7: glGet(GL_VIEWPORT, someBuffer)
I am trying to accomplish the following logical operation in Python but getting into
I am trying to accomplish a simple PWM generation using delays on an AVR
I want to accomplish the following, but I'm not sure how to do it:
I'd like to accomplish the following: class SearchController : AsyncController { public ActionResult Index(string
I'm looking to accomplish the following effect in C#: alt text http://img638.imageshack.us/img638/1530/conversionj.png Any ideas
I want to accomplish the following: def feed_items a = [] taggings.each do |k|
I'm trying to accomplish the following: Have a thread that reads data from a
Im trying to accomplish this: http://jsfiddle.net/WkVb9/ But instead of using a textarea, use an
I am trying to accomplish the following: load a document (done) go trough the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.