0
votes
0answers
6 views

Bitvise SSH client won't connect in unattended mode

I have an application pool in IIS which is runnig a local .bat file. The .bat file is as follows: sftpc -profile="c:\Users\Public\Documents\Profile.bscp" -cmd="put C:\todo\* ap/" > C:\log\ftp.txt ...
0
votes
3answers
539 views

IPs in hosts.deny only block ssh

I am running a small server where I want to block some special IPs using /etc/hosts.deny. If I make an entry like ALL: <IP> only the ssh service will be blocked for IP. All the others ...
1
vote
0answers
210 views

Is there a utility to ping a server using aliases in ssh config (instead of /etc/hosts)?

I'm trying to standardize my server aliases across projects by linking together ssh config files that I can keep under version control. I'd like to be able to just define machine aliases along with ...
1
vote
2answers
835 views

how to get the name of current host?

This may be a pretty dump question! So how do I get the host name so that I can ssh into my machine (which is a Mac)? For instance : ssh myusername@<hostname> Is there any command to find out ...
5
votes
1answer
261 views

In your ssh config is it possible to have one host entry for multiple machines on the same domain

I'd like to be able to do something like Host * HostName *.mydomain.com ... So I can type something like ssh test ssh ci ssh dev Instead of having to type ssh test.mydomain.com ssh ...
0
votes
2answers
328 views

Modifying .profile for SSH rules

I wish to create the following script in .profile, so each SSH session would go directly into its place: Check the specified host (user@host). If host = host1 -- cd /var/www/site1 etc. Help! :)
27
votes
5answers
9k views

Don't add hostkey to known_hosts for SSH

I want to connect to a host via SSH but I don't want the hostname to be added to my ~/.ssh/known_hosts. How can I do that?
2
votes
3answers
6k views

ssh - no route to host

I have 3 machines (A, B and C) behind WLAN Router. From B i can make ssh to A and from A to B also. Ssh between C and A is also working (both destination, C->A and A->C). But when i try to connect B ...
1
vote
5answers
821 views

How can I tell if I am SSH'd in somwhere already?

Is there an easy way to tell if I am SSH'd in somewhere without typing 'exit'? Like, if I am currently sitting at computer A and I SSH'd to computer B and then from B to computer C, is there a way I ...
44
votes
8answers
80k views

Remove key from known_hosts

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the ...