Skip to main content

Timeline for Remote command in ssh config file

Current License: CC BY-SA 3.0

20 events
when toggle format what by license comment
Jan 16, 2018 at 15:13 answer added Govna timeline score: 1
Jan 16, 2018 at 4:36 vote accept Kazz
Jan 15, 2018 at 23:03 answer added Franklin Yu timeline score: 41
Jan 15, 2018 at 17:08 history reopened Michael Mrozek
Jan 15, 2018 at 17:08 comment added Michael Mrozek Reopening since apparently this is now possible? (@FranklinYu)
Oct 26, 2017 at 15:28 comment added terdon @FranklinYu yes. Or editing the existing answer or even reopening this question at that point, but I doubt it will be an issue. But as a general rule, when someone asks "How can I use foo for bar", we prefer answering "you can use baz instead" over just saying "foo can't do that". In other words, if the OP has an idea which won't work, it is more useful to give a solution that works than to just say that this idea won't work.
Oct 26, 2017 at 14:33 comment added Franklin Yu @terdon However the fact "it isn't possible" may change over time. Yes, it is possible now. Now I (as well as anyone in future coming to see this) need a new answer, and we get stuck here. If this is not re-opened, I imagine that the desired path is to create a new question (and answer it)?
Oct 26, 2017 at 10:26 comment added terdon @FranklinYu and that is the answer it has received. Marking it as a duplicate means that the next person who wants to do this will be taken to a page that gives the right solution instead of one that simply states that the specific approach envisioned by the OP here isn't possible.
Oct 25, 2017 at 18:54 comment added Franklin Yu The fact "it can't be done in ssh_config" does not make this a duplicate of "do it in Bash". "You can't do that" is a perfectly valid answer.
Mar 30, 2017 at 12:01 comment added Kazz If there are other places please give some ideas. The end game is that i use ssh to dozens of servers and so far i manage to configure it so i just type ssh name and got used to it. It a few cases now i need to go to a very deep dir every single time.
Mar 29, 2017 at 21:01 history closed thrig
Satō Katsura
GAD3R
Tim Kennedy
Zachary Brady
Duplicate of How to SSH into a specific directory?
Mar 29, 2017 at 20:31 comment added Chris Davies Please could you explain (in your question) why you feel the change must be made to ssh_config? There are probably better places to configure the starting directory, and it would be helpful to understand why there is this particular restriction on a possible solution.
Mar 29, 2017 at 17:11 vote accept Kazz
Jan 16, 2018 at 4:36
Mar 29, 2017 at 15:16 answer added Jakuje timeline score: 1
Mar 29, 2017 at 14:57 review Close votes
Mar 29, 2017 at 21:01
Mar 29, 2017 at 14:54 comment added lgeorget There's nothing about that in man ssh_config. The closest is LocalCommand but it cannot be used for interactive command.
Mar 29, 2017 at 14:53 comment added Kazz I've clarified my question.
Mar 29, 2017 at 14:51 history edited Kazz CC BY-SA 3.0
added 232 characters in body
Mar 29, 2017 at 14:22 review First posts
Mar 29, 2017 at 14:23
Mar 29, 2017 at 14:14 history asked Kazz CC BY-SA 3.0