mafintosh / mafintosh/ssh-exec

Which bash profile?

Open
#27 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
124
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hey, hopefully you can point me in the right direction.

I'm trying to install nvm via ssh-exec. When I log in directly, `source ~/.profile` works. However, when using ssh-exec it doesn't. I think it might have to do with the bash profile. Any idea?

For context: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04#how-to-install-using-nvm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the difference between direct login and ssh-exec while checking how ssh-exec invokes the shell and whether `source ~/.profile` is available; done means the profile behavior is explained and the issue is fixed or documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, javascript, nodejs
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.