How can I check what servers I can ssh into? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I've inherited a Linux server that had some ssh privileges setup on it to connect to other Linux servers. The thing is there is no documentation on where those privileges are stored and they are not setup consistently across all machines.
Is there a way to check what accounts and servers I can log into without a password on an existing machine?

As #lurker says, the permissions are maintained on the server. You need look through the /etc/ssh/ssh_known_hosts and ~/.ssh/known_hosts files on all your servers to find out which hosts can connect.

Related

Sign in to organisation or university via linux server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 months ago.
Improve this question
I've got an Ubuntu server on my workstation in an university.
I need to sign in via entering user name and password on a login page to connect to the internet.
How can I do this on the Ubuntu server when there is no terminal browser preinstalled on it (ain't got internet access)?
Your can use CURL (a command line tools) to authenticate your account for internet access.
Learn more

Restrict user access on linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a Ubuntu 12.04 machine that I can only access using SSH. On this machine I have two users and I want to limit the access to certain files to one of these users.
Basically I want that user to be able to access only its home directory and nothing more. I know that by removing the rx permissions to other home directories for others is one option but I wanted to know if there is another way, a configuration file where I can tell that my user can only have access to that folder.
Thanks.
chrooted jail is the answer.
Like: https://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny

Bypass the use of Domain in WinEXE [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
is there a way to bypass the use of domain in the winexe command?:
winexe -U domain/username%password //hostname "cmd.exe"
I have two PCs. one is running on windows and the other in linux. These two machines does not have a domain server. Just a simple local area network. Both PCs have administrative accounts
Please help. Thanks
After exploring, I finally resolved the issue by using .\ as a variable for the domainname. the .\ is a default value for the local area network.

Detect incoming ssh connection [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I'm working on a network with many Linux machines.
In one of them I have a file that I suspect was pushed by another machine.
The machines can access each other using ssh connections.
Is there anyway I can tell which machine pushed the file?
I tried looking for ssh logs but the /var/log/secure/ directory doesn't exist.
Depending on the distro and your logging settings, you may have some luck with /log/auth.
Try grep sshd /var/log/auth.log
Depends on your distro, you can check following files from your distro.
/var/log/secure
/var/log/auth.log
/var/log/syslog
/var/log/daemon.log

Mail being sent to local domain instead of remote domain [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a server which hosts mywebsite.com
If I try to send mail to info#mywebsite.com, the MTA is trying to send it to a local host (the mail is managed on a different server). How can I fix this?!
Its a linux server running qmail
Any more info needed please ask
Thanks!
Figured it out, the system has Plesk on it, needed to disable the mail service on the domain to stop it from sending to itself

Resources