mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 07:10:53 +03:00
fhm
This commit is contained in:
@@ -35,7 +35,7 @@ public abstract class AbstractAuthMethod
|
||||
/** {@link AuthParams} useful for building request. */
|
||||
protected AuthParams params;
|
||||
|
||||
/** Create with the {@code name} of this authentication method. */
|
||||
/** @param name the {@code name} of this authentication method. */
|
||||
protected AbstractAuthMethod(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@@ -43,8 +43,7 @@ public class AuthHostbased
|
||||
protected SSHPacket buildReq()
|
||||
throws UserAuthException {
|
||||
SSHPacket req = putPubKey(super.buildReq());
|
||||
req.putString(hostname == null ? params.getTransport().getRemoteHost() : hostname) //
|
||||
.putString(hostuser);
|
||||
req.putString(hostname == null ? params.getTransport().getRemoteHost() : hostname).putString(hostuser);
|
||||
return putSig(req);
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public interface ModeGetter {
|
||||
int getPermissions(File f)
|
||||
throws IOException;
|
||||
|
||||
/** Whether this implementation can provide mtime and atime information. */
|
||||
/** @return whether this implementation can provide mtime and atime information. */
|
||||
boolean preservesTimes();
|
||||
|
||||
}
|
||||
@@ -162,7 +162,6 @@ public final class SCPDownloadClient
|
||||
signal("ACK: D");
|
||||
|
||||
do {
|
||||
;
|
||||
} while (!process(null, readMessage(), f));
|
||||
|
||||
signal("ACK: E");
|
||||
|
||||
Reference in New Issue
Block a user