Comments (2)
Hi Rafael!
I always login to remote servers with my private key, as it is more convenient than passwords.
If you have a public/private keys pair you can type this to put your public key into the remote server:
cat ~/.ssh/id_dsa.pub | ssh [email protected] 'cat - >> ~/.ssh/authorized_keys2'
If not, follow the instructions in http://mah.everybody.org/docs/ssh (previous code is from that page) to generate the pair and then put the public one into the server.
When you try to connect to a remote server, ssh asks for a password or a passphrase to unlock your private key, depending on the server configuration and the information it has about you (basically, your public key).
A tool called ssh agent can keep in the memory of your local terminal the information needed to access the private key, so you don't need to type your password or passphrase each time.
To start the ssh agent, type
ssh-add
Then, you'll be asked for the passphrase. After that, you should access to the remote server with no more prompts.
I hope this help you
from ngxtop.
Even I am facing this issue. I have to su - production_user
to another user, for accessing the log files. production_user
doesn't have direct ssh access. I don't know how to proceed with this.
from ngxtop.
Related Issues (20)
- Create new tag for current version HOT 2
- SyntaxError: invalid syntax HOT 1
- Buffed logs
- HAProxy default httplog or CLF format HOT 1
- [Looking for Help] Show all IPs that have accesses in the last 5 minutes
- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sUaq4f/docopt/
- no data HOT 5
- Edit default input log name/location
- Query use case is broken
- Custom format for multiple websites
- ngxtop is not working at all HOT 1
- How to deal with json format log ? HOT 2
- Feature request
- ImportError: No module named 'config_parser' HOT 8
- Ngxtop overwrite "top" or clear acces file
- Doesn't run in my server
- input access.log json format
- How to read log from Nginx Docker HOT 1
- Selection of the actual fork of this project (lebinh/ngxtop) HOT 4
- Error HOT 2
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 ngxtop.