aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java b/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java
index 3230cfc..981b64f 100644
--- a/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java
+++ b/src/net/java/sip/communicator/impl/protocol/ssh/ProtocolProviderServiceSSHImpl.java
@@ -375,14 +375,14 @@ public class ProtocolProviderServiceSSHImpl
// creating a new JSch Stack identifier for contact
JSch jsch = new JSch();
- String knownHosts = (String)accountID
- .getAccountProperties().get("KNOWN_HOSTS_FILE");
-
+ String knownHosts =
+ accountID.getAccountPropertyString("KNOWN_HOSTS_FILE");
+
if(!knownHosts.equals("Optional"))
jsch.setKnownHosts(knownHosts);
-
- String identitiyKey = (String)accountID
- .getAccountProperties().get("IDENTITY_FILE");
+
+ String identitiyKey =
+ accountID.getAccountPropertyString("IDENTITY_FILE");
String userName = sshContact.getUserName();