remote-access

How to solve “sign_and_send_pubkey: signing failed: agent refused operation”?

为君一笑 提交于 2019-11-29 20:23:09
Configuring a new Digital Ocean droplet with SSH keys. When I run ssh-copy-id this is what I get: ssh-copy-id user@012.345.67.89 /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys sign_and_send_pubkey: signing failed: agent refused operation user@012.345.67.89's password: Number of key(s) added: 1 Now try logging into the machine, with: "ssh 'user@012.345.67.89'" and check to make sure that only the key(s) you

MYSQL access from another computer

蹲街弑〆低调 提交于 2019-11-29 13:02:37
I want to develop a java desktop application, in which i want to setup server, means here I am using mysql db. The db will be stored on only one pc, and rest all users can access this db. so, i heard about mysql remote connection. in which tried some things, these are as follows: (My pc is connected to wifi) 1)i assigned a static ip to the pc 2)added inbound and outbound rules in firewall setting for port 3306 3)in my.ini file of mysql, i have added bind-address=the static ip of my pc. (Please note here, i dont know much about this bind-address logic. i have tried 0.0.0.0, ::, * everything as

Double hop access to copy files without CredSSP

五迷三道 提交于 2019-11-29 07:07:50
hello, We have large environment with hundreds of virtual machines. During our services deployment we need to copy some files from build drop to all these machines. So, we have: User machine, where deployment scripts executing Build drop machine, where files are Target machine Powershell is used as script language. Something like: $buildDrop = "\\sourceMachine\Build" $machineTarget = "targetMachine" Invoke-Command -ComputerName $machineTarget -ArgumentList $buildDrop -ScriptBlock { Param( $buildDrop ) Test-Path $buildDrop # Will return False } This approach leads to double hop issue , which I

Connecting to a remote database through CodeIgniter

那年仲夏 提交于 2019-11-29 07:07:09
Unable to connect to your database server using the provided settings. I've been having difficulty connecting my application to my remote database. I'm receiving the error shown above when I run my application. I've looked at previous answers to this question on this site, but I've gotten no luck at solving it. From what I learnt, I need to replace the hostname and make my mysql database accept external connections, which I have both done. I tried the same values in my database.php through the mysql command-line and it works. So what else could I possibly be missing? Here are my settings in

Connecting a remote JMS client to GlassFish 3

主宰稳场 提交于 2019-11-29 07:00:17
I am trying to connect to GlassFish 3's JMS service from a standalone remote client. However I am getting a java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter. Any ideas on how to fix this? Here's my setup so far: Glassfish 3 JMS Service in LOCAL mode (I am assuming that EMBEDED mode will not work in this case because it bypasses the network stack) JNDI properties are specified as follows: java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory java.naming.factory.url.pkgs=com.sun.enterprise.naming java.naming.factory.state=com.sun.corba.ee.impl

How to remotely control a Windows Service with ServiceController?

廉价感情. 提交于 2019-11-29 05:34:40
I'm trying to control Windows Services that are installed in a remote computer. I'm using the ServiceController class. I have this: ServiceController svc = new ServiceController("MyWindowsService", "COMPUTER_NAME"); With this, I can get the status of the Windows Service like this: string status = svc.Status.ToString(); But I can't control the Windows Service (by doing svc.Start(); or svc.Stop(); ). I get the following exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' That's normal, I suppose there is something to do with access permissions. But how? I've looked into Google

Apache Cassandra remote access

☆樱花仙子☆ 提交于 2019-11-29 05:28:52
I have installed Apache Cassandra on the remote Ubuntu server. How to allow remote access for an Apache Cassandra database? And how to make a connection? CraigJPerry Remote access to Cassandra is via its thrift port (although note that the JMX port can be used to perform some limited operations). The thrift port is defined in cassandra.yaml by the rpc_port parameter, which defaults to 9160. Your cassandra node should be bound to the IP address of your server's network card - it shouldn't be 127.0.0.1 or localhost which is the loopback interface's IP, binding to this will prevent direct remote

Impersonation the current user using WindowsImpersonationContext to access network drive

主宰稳场 提交于 2019-11-29 05:12:06
I need to access a remote drive from a Web App. The drive isn't accessible to the ASP.NET process, so I want to impersonate the current user for the request. I saw some basic examples using WindowsImpersonationContext, and have tried the following. WindowsImpersonationContext impersonationContext = null; try { impersonationContext = ((WindowsIdentity)User.Identity).Impersonate(); file.SaveAs(filePath); } finally { if (impersonationContext != null) { impersonationContext.Undo(); } } I'm still getting an access denied exception. I've read a bit of stuff about LogonUser , but as far as I can tell

How to set mongod.conf bind_ip with multiple ip address

南笙酒味 提交于 2019-11-28 21:04:46
I am a newbie for setting up the server environment and mongoDB. This may sounds something really simple, however, I really need your help on it. I am trying to connect to my virtual machine which runs the mongodb instance from the local machine, which I believe should be similar to the production environment when I run it on a separate remote server. The environment is as following: Private IP for virtual machine: 192.168.184.155 Public IP for both local machine and virtual machine: 96.88.169.145 I changed the bind_ip in /etc/mongod.conf file from bind_ip = 127.0.0.1 to bind_ip = 127.0.0.1

Accessing ASP.NET Development Server from another pc on the network

亡梦爱人 提交于 2019-11-28 20:50:55
问题 I would like to test my web app in other browsers. I have installed Virtual PC to do just that. the ASP.NET development server does not allow remote connections so the virtual pc (another computer on the network) cannot access the website. I found this post that was started but there was no solution. I understand that using localhost will not work. I heard about using the machines ip, but how do I get that correct ip? Look at my lynksys router admin? If I were to get as far as getting my IP,